You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by vg...@apache.org on 2016/07/02 02:05:28 UTC

hive git commit: HIVE-14153: Beeline: beeline history doesn't work on Hive2 (Vaibhav Gumashta reviewed by Thejas Nair)

Repository: hive
Updated Branches:
  refs/heads/branch-1 19c8d1e57 -> 51e44a492


HIVE-14153: Beeline: beeline history doesn't work on Hive2 (Vaibhav Gumashta reviewed by Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/51e44a49
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/51e44a49
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/51e44a49

Branch: refs/heads/branch-1
Commit: 51e44a492bc71c682d645badd3dd85f97f432b60
Parents: 19c8d1e
Author: Vaibhav Gumashta <vg...@hortonworks.com>
Authored: Fri Jul 1 19:05:24 2016 -0700
Committer: Vaibhav Gumashta <vg...@hortonworks.com>
Committed: Fri Jul 1 19:05:24 2016 -0700

----------------------------------------------------------------------
 bin/beeline | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/51e44a49/bin/beeline
----------------------------------------------------------------------
diff --git a/bin/beeline b/bin/beeline
index 2fb05bc..c23ab22 100644
--- a/bin/beeline
+++ b/bin/beeline
@@ -23,7 +23,7 @@ bin=`cd "$bin"; pwd`
 export HADOOP_USER_CLASSPATH_FIRST=true
 
 # If process is backgrounded, don't change terminal settings
-if [[ ! $(ps -o stat= -p $$) =~ + ]]; then
+if [[ ! $(ps -o stat= -p $$) =~ "+" ]]; then
   export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djline.terminal=jline.UnsupportedTerminal"
 fi