You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2020/03/22 17:55:52 UTC
[bigtop] branch master updated: BIGTOP-3330: avoid duplicate jars
between oozie and oozie-client
This is an automated email from the ASF dual-hosted git repository.
oflebbe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new b37aafa BIGTOP-3330: avoid duplicate jars between oozie and oozie-client
b37aafa is described below
commit b37aafaa2b7c8c1bfe4ef9057c040d14c4f59f08
Author: Luca Toscano <lt...@wikimedia.org>
AuthorDate: Sun Mar 22 18:25:40 2020 +0100
BIGTOP-3330: avoid duplicate jars between oozie and oozie-client
Add a workaround to the install_oozie.sh script to avoid duplicate
jars between oozie and oozie-client. This issue leads to override
errors when installing the oozie package on Debian (oozie-client
is among its dependencies).
Credis to Olaf Flebbe for the solution.
---
bigtop-packages/src/common/oozie/install_oozie.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bigtop-packages/src/common/oozie/install_oozie.sh b/bigtop-packages/src/common/oozie/install_oozie.sh
index 7d81f8b..112784e 100755
--- a/bigtop-packages/src/common/oozie/install_oozie.sh
+++ b/bigtop-packages/src/common/oozie/install_oozie.sh
@@ -232,3 +232,8 @@ cp -R ${BUILD_DIR}/libtools ${SERVER_LIB_DIR}/
# Provide a convenience symlink to be more consistent with tarball deployment
ln -s ${DATA_DIR#${SERVER_PREFIX}} ${SERVER_LIB_DIR}/libext
+# Remove jars provided by 'oozie-client' from 'oozie' to avoid run-time issues
+# while installing the package.
+for oozie_client_jar_file in $(ls $CLIENT_LIB_DIR/lib); do
+ rm -f $SERVER_LIB_DIR/lib/$oozie_client_jar_file
+done
\ No newline at end of file