hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject hive git commit: HIVE-10822: CLI start script throwing error message on console (Chinna Rao Lalam, reviewed by Ferdinand Xu)
Date Tue, 26 May 2015 14:36:04 GMT
Repository: hive
Updated Branches:
  refs/heads/beeline-cli 03366392c -> 328ac4d73


HIVE-10822: CLI start script throwing error message on console (Chinna Rao Lalam, reviewed
by Ferdinand Xu)


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

Branch: refs/heads/beeline-cli
Commit: 328ac4d7383a71c219cb77611c9ed4b6e6cd9bea
Parents: 0336639
Author: Ferdinand Xu <cheng.a.xu@intel.com>
Authored: Tue May 26 03:04:02 2015 -0400
Committer: Ferdinand Xu <cheng.a.xu@intel.com>
Committed: Tue May 26 03:04:02 2015 -0400

----------------------------------------------------------------------
 bin/ext/cli.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/328ac4d7/bin/ext/cli.sh
----------------------------------------------------------------------
diff --git a/bin/ext/cli.sh b/bin/ext/cli.sh
index 733705a..cdce7e3 100644
--- a/bin/ext/cli.sh
+++ b/bin/ext/cli.sh
@@ -17,7 +17,7 @@ THISSERVICE=cli
 export SERVICE_LIST="${SERVICE_LIST}${THISSERVICE} "
 
 updateCli() {
-  if [ $USE_DEPRECATED_CLI == "true" ]; then
+  if [ "$USE_DEPRECATED_CLI" == "true" ]; then
     CLASS=org.apache.hadoop.hive.cli.CliDriver
     JAR=hive-cli-*.jar
   else
@@ -34,4 +34,4 @@ cli () {
 cli_help () {
   updateCli
   execHiveCmd $CLASS $JAR "--help"
-}
\ No newline at end of file
+}


Mime
View raw message