This is an automated email from the ASF dual-hosted git repository. nixon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push: new c1dc84c ATLAS-4354: atlas import-hive.sh fails with java.lang.AbstractMethodError c1dc84c is described below commit c1dc84cdeeb1b5c3a53f2bec01ae138e5f578dd1 Author: Radhika Kundam <rkun...@cloudera.com> AuthorDate: Mon Jul 12 22:11:14 2021 -0700 ATLAS-4354: atlas import-hive.sh fails with java.lang.AbstractMethodError Signed-off-by: nixonrodrigues <ni...@apache.org> --- addons/hive-bridge/src/bin/import-hive.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/hive-bridge/src/bin/import-hive.sh b/addons/hive-bridge/src/bin/import-hive.sh index 405497b..693a79b 100755 --- a/addons/hive-bridge/src/bin/import-hive.sh +++ b/addons/hive-bridge/src/bin/import-hive.sh @@ -91,8 +91,11 @@ if [ -z "$HIVE_HOME" ]; then 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" -for i in "${HIVE_HOME}/lib/"*.jar; do +for i in $(find "${HIVE_HOME}/lib/" -name "*.jar" | grep -v "$HIVE_CP_EXCLUDE_LIST"); do HIVE_CP="${HIVE_CP}:$i" done