This is an automated email from the ASF dual-hosted git repository. sarath pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new 2520116 ATLAS-4369: import-hive.sh does not write logs to /var/log/atlas/import-hive.log file 2520116 is described below commit 25201164f770480737a2802be842115741685432 Author: Disha Talreja <dishatalr...@cloudera.com> AuthorDate: Mon Sep 13 13:44:34 2021 -0400 ATLAS-4369: import-hive.sh does not write logs to /var/log/atlas/import-hive.log file Signed-off-by: Sarath Subramanian <sar...@apache.org> (cherry picked from commit 6e4d369fd8b1f1529af14261d084c877109b58c6) --- addons/hive-bridge/src/bin/import-hive.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hive-bridge/src/bin/import-hive.sh b/addons/hive-bridge/src/bin/import-hive.sh index 693a79b..fde486f 100755 --- a/addons/hive-bridge/src/bin/import-hive.sh +++ b/addons/hive-bridge/src/bin/import-hive.sh @@ -93,7 +93,8 @@ fi HIVE_CP="${HIVE_CONF}" # Multiple jars in HIVE_CP_EXCLUDE_LIST can be added using "\|" separator # Ex: HIVE_CP_EXCLUDE_LIST="javax.ws.rs-api\|jersey-multipart" -HIVE_CP_EXCLUDE_LIST="javax.ws.rs-api" +# exclude log4j libs from hive classpath to avoid conflict +HIVE_CP_EXCLUDE_LIST="javax.ws.rs-api\|log4j-slf4j-impl\|log4j-1.2-api\|log4j-api\|log4j-core\|log4j-web" for i in $(find "${HIVE_HOME}/lib/" -name "*.jar" | grep -v "$HIVE_CP_EXCLUDE_LIST"); do HIVE_CP="${HIVE_CP}:$i"