You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2016/02/08 22:59:47 UTC
hive git commit: HIVE-13024: schematool does not log anywhere
(Prasanth Jayachandran reviewed by Sergey Shelukhin)
Repository: hive
Updated Branches:
refs/heads/branch-2.0 0e16a1d44 -> 82fd4a1de
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/82fd4a1d
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/82fd4a1d
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/82fd4a1d
Branch: refs/heads/branch-2.0
Commit: 82fd4a1de0ec5b238b1f27333b12867d72b5485b
Parents: 0e16a1d
Author: Prasanth Jayachandran <j....@gmail.com>
Authored: Mon Feb 8 15:59:34 2016 -0600
Committer: Prasanth Jayachandran <j....@gmail.com>
Committed: Mon Feb 8 15:59:34 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/82fd4a1d/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/82fd4a1d/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 "$@"