Skip to content

Commit 078db15

Browse files
committed
cleanup and comments
1 parent 68f11c1 commit 078db15

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hive/hive-metastore-opa-authorizer/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@ cp -r /stackable/patched-libs/maven/* /stackable/.m2/repository
4848
mvn 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
5152
if [[ "${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
5556
else
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
6159
fi
6260

0 commit comments

Comments
 (0)