You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by br...@apache.org on 2014/10/27 05:42:54 UTC

svn commit: r1634447 - /hive/trunk/bin/beeline

Author: brock
Date: Mon Oct 27 04:42:54 2014
New Revision: 1634447

URL: http://svn.apache.org/r1634447
Log:
HIVE-6758 - Beeline doesn't work with -e option when started in background

Modified:
    hive/trunk/bin/beeline

Modified: hive/trunk/bin/beeline
URL: http://svn.apache.org/viewvc/hive/trunk/bin/beeline?rev=1634447&r1=1634446&r2=1634447&view=diff
==============================================================================
--- hive/trunk/bin/beeline (original)
+++ hive/trunk/bin/beeline Mon Oct 27 04:42:54 2014
@@ -18,9 +18,4 @@
 bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
-# If process is backgrounded, don't change terminal settings
-if [[ ! $(ps -o stat= -p $$) =~ + ]]; then
-  export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djline.terminal=jline.UnsupportedTerminal"
-fi
-
 . "$bin"/hive --service beeline "$@"