HIVE-11572: Datanucleus loads Log4j1.x Logger from AppClassLoader (Prasanth Jayachandran reviewed by Gopal V)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e82bf253 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e82bf253 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e82bf253 Branch: refs/heads/beeline-cli Commit: e82bf253fa62881f6d976e97d1bf4646ad4187c6 Parents: 1c52a7e Author: Prasanth Jayachandran <[email protected]> Authored: Tue Sep 22 19:06:51 2015 -0500 Committer: Prasanth Jayachandran <[email protected]> Committed: Tue Sep 22 19:06:51 2015 -0500 ---------------------------------------------------------------------- bin/hive | 2 +- packaging/src/main/assembly/bin.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/e82bf253/bin/hive ---------------------------------------------------------------------- diff --git a/bin/hive b/bin/hive index ad7139e..505aee0 100755 --- a/bin/hive +++ b/bin/hive @@ -171,7 +171,7 @@ export HADOOP_HOME_WARN_SUPPRESS=true # pass classpath to hadoop if [ "$HADOOP_CLASSPATH" != "" ]; then - export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${CLASSPATH}" + export HADOOP_CLASSPATH="${CLASSPATH}:${HADOOP_CLASSPATH}" else export HADOOP_CLASSPATH="$CLASSPATH" fi http://git-wip-us.apache.org/repos/asf/hive/blob/e82bf253/packaging/src/main/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/packaging/src/main/assembly/bin.xml b/packaging/src/main/assembly/bin.xml index 0fa6af8..b21732b 100644 --- a/packaging/src/main/assembly/bin.xml +++ b/packaging/src/main/assembly/bin.xml @@ -42,6 +42,7 @@ <exclude>org.apache.hadoop:*</exclude> <exclude>org.apache.hive.hcatalog:*</exclude> <exclude>org.slf4j:*</exclude> + <exclude>log4j:*</exclude> <exclude>commons-configuration:commons-configuration</exclude> </excludes> </dependencySet>
