File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
hive/hive-metastore-opa-authorizer Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,13 @@ cp -r /stackable/patched-libs/maven/* /stackable/.m2/repository
4848mvn versions:set -DnewVersion=${AUTHORIZER_VERSION}
4949
5050# The if part can be removed once we do no longer support Hive 3.x.x
51+ # Hive 3.1.3 only works with the shaded jar
5152if [[ "${HIVE_VERSION}" =~ ^3 ]]; then
5253 mvn clean package -DskipTests -Dhive.version=${HIVE_VERSION} -Dhadoop.version=${HADOOP_VERSION} -f hms-v3/pom.xml
53-
5454 mv hms-v3/target/com.bosch.bdps.hms3-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar /stackable/opa-authorizer-bin
55+ # Hive 4.1.0 only works with the non shaded jar
5556else
5657 mvn clean package -DskipTests -Dhive.version=${HIVE_VERSION} -Dhadoop.version=${HADOOP_VERSION} -f hms-v4/pom.xml
57-
58- # The hive-metastore-opa-authorizer offers a shaded jar from version 4.x.x. Using the shaded jar leads to problems with schema tool at pod startup.
59- # mv hms-v4/target/com.bosch.bdps.hms4-${HIVE_VERSION}-${HADOOP_VERSION}-dev.jar /stackable/opa-authorizer-bin
6058 mv hms-v4/target/hms4-${AUTHORIZER_VERSION}.jar /stackable/opa-authorizer-bin
6159fi
6260
You can’t perform that action at this time.
0 commit comments