From c09592ccee45875a2759d436b0081379d56a6711 Mon Sep 17 00:00:00 2001 From: lijie0203 Date: Fri, 20 Oct 2023 15:19:39 +0800 Subject: [PATCH] BIGTOP-4028 : Excluding log dependencies corresponding to hbase in the hive service --- .../src/common/hive/patch16-HIVE-SHELL.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bigtop-packages/src/common/hive/patch16-HIVE-SHELL.diff diff --git a/bigtop-packages/src/common/hive/patch16-HIVE-SHELL.diff b/bigtop-packages/src/common/hive/patch16-HIVE-SHELL.diff new file mode 100644 index 0000000000..3af6a47c70 --- /dev/null +++ b/bigtop-packages/src/common/hive/patch16-HIVE-SHELL.diff @@ -0,0 +1,13 @@ +diff --git a/bin/hive b/bin/hive +index 1ade51e..f645ef1 100755 +--- a/bin/hive ++++ b/bin/hive +@@ -293,7 +293,7 @@ if [ "$SKIP_HBASECP" = false ]; then + # exclude ZK, PB, and Guava (See HIVE-2055) + # depends on HBASE-8438 (hbase-0.94.14+, hbase-0.96.1+) for `hbase mapredcp` command + for x in $($HBASE_BIN mapredcp 2>&2 | tr ':' '\n') ; do +- if [[ $x == *zookeeper* || $x == *protobuf-java* || $x == *guava* ]] ; then ++ if [[ $x == *zookeeper* || $x == *protobuf-java* || $x == *guava* || $x == *log* || $x == *slf4j* ]] ; then + continue + fi + # TODO: should these should be added to AUX_PARAM as well?