Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: change code block syntax highlighting in Background Query in Terminal Script

...

The following environment variable can be updated:

Code Block
languagetext
export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djline.terminal=jline.UnsupportedTerminal"

Running with nohangup (nohup) and ampersand (&) will place the process in the background and allow the terminal to disconnect while keeping the Beeline process running.  

Code Block
languagetext
nohup beeline --silent=true --showHeader=true --outputformat=dsv -f query.hql </dev/null > /tmp/output.log 2> /tmp/error.log &

...