Skip to content

Commit f2b1d10

Browse files
committed
adapt condition for 4.0.0
1 parent 1d4af7d commit f2b1d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hive/hive-metastore-opa-authorizer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ if [[ "${HIVE_VERSION}" == "3.1.3" ]]; then
5454
mvn clean package -DskipTests -Dhive.version=${HIVE_VERSION} -Dhadoop.version=${HADOOP_VERSION} -f hms-v3/pom.xml
5555
mv hms-v3/target/com.bosch.bdps.hms3-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar /stackable/opa-authorizer-bin/hms3-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar
5656
# Hive 4.0.* only works with the shaded jar
57-
elif [[ "${HIVE_VERSION}" == "4.0.*" ]]; then
57+
elif [[ "${HIVE_VERSION}" == 4.0.* ]]; then
5858
mvn clean package -DskipTests -Dhive.version=${HIVE_VERSION} -Dhadoop.version=${HADOOP_VERSION} -f hms-v4/pom.xml
5959
mv hms-v4/target/com.bosch.bdps.hms4-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar /stackable/opa-authorizer-bin/hms4-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar
60-
# Hive 4.1.0 only works with the non shaded jar
60+
# Hive > 4.0.x only works with the non shaded jar
6161
else
6262
mvn clean package -DskipTests -Dhive.version=${HIVE_VERSION} -Dhadoop.version=${HADOOP_VERSION} -f hms-v4/pom.xml
6363
mv hms-v4/target/hms4-${AUTHORIZER_VERSION}.jar /stackable/opa-authorizer-bin/hms4-${HIVE_VERSION}-${HADOOP_VERSION}-${AUTHORIZER_VERSION}.jar

0 commit comments

Comments
 (0)