hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasan...@apache.org
Subject hive git commit: HIVE-13024: schematool does not log anywhere (Prasanth Jayachandran reviewed by Sergey Shelukhin)
Date Mon, 08 Feb 2016 22:08:32 GMT
Repository: hive
Updated Branches:
  refs/heads/master cfdfe4bd0 -> 6d5dc43d4


HIVE-13024: schematool does not log anywhere (Prasanth Jayachandran reviewed by Sergey Shelukhin)


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

Branch: refs/heads/master
Commit: 6d5dc43d4b52db40c0b187b081d0d3877b876f02
Parents: cfdfe4b
Author: Prasanth Jayachandran <j.prasanth.j@gmail.com>
Authored: Mon Feb 8 15:59:34 2016 -0600
Committer: Prasanth Jayachandran <j.prasanth.j@gmail.com>
Committed: Mon Feb 8 16:08:21 2016 -0600

----------------------------------------------------------------------
 bin/ext/cli.sh        | 2 +-
 bin/ext/schemaTool.sh | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/6d5dc43d/bin/ext/cli.sh
----------------------------------------------------------------------
diff --git a/bin/ext/cli.sh b/bin/ext/cli.sh
index e7897b3..847cf0d 100644
--- a/bin/ext/cli.sh
+++ b/bin/ext/cli.sh
@@ -33,7 +33,7 @@ updateCli() {
     CLASS=org.apache.hadoop.hive.cli.CliDriver
     JAR=hive-cli-*.jar
   else
-    export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Dlog4j.configuration=beeline-log4j.properties"
+    export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Dlog4j.configurationFile=beeline-log4j2.properties"
     CLASS=org.apache.hive.beeline.cli.HiveCli
     JAR=hive-beeline-*.jar
     updateBeelineOpts

http://git-wip-us.apache.org/repos/asf/hive/blob/6d5dc43d/bin/ext/schemaTool.sh
----------------------------------------------------------------------
diff --git a/bin/ext/schemaTool.sh b/bin/ext/schemaTool.sh
index 94c56ef..473ee90 100644
--- a/bin/ext/schemaTool.sh
+++ b/bin/ext/schemaTool.sh
@@ -17,6 +17,7 @@ THISSERVICE=schemaTool
 export SERVICE_LIST="${SERVICE_LIST}${THISSERVICE} "
 
 schemaTool() {
+  export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Dlog4j.configurationFile=hive-log4j2.properties"
   HIVE_OPTS=''
   CLASS=org.apache.hive.beeline.HiveSchemaTool
   execHiveCmd $CLASS "$@"


Mime
View raw message