Skip to content

Commit 4687d26

Browse files
authored
fix: Fix CI failure due to integration test's Hive install (#3174)
Install Hive directly Signed-off-by: Jannik Steinmann <[email protected]>
1 parent 28ede50 commit 4687d26

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎dev/hms/Dockerfile‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ ENV HADOOP_VERSION=3.1.0
2020

2121
USER root
2222

23-
RUN apt-get update -qq && apt-get -qq -y install curl && \
24-
curl https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/${HADOOP_VERSION}/hadoop-aws-${HADOOP_VERSION}.jar -Lo /opt/hive/lib/hadoop-aws-${HADOOP_VERSION}.jar && \
25-
curl https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.11.271/aws-java-sdk-bundle-1.11.271.jar -Lo /opt/hive/lib/aws-java-sdk-bundle-1.11.271.jar && \
26-
apt-get clean && rm -rf /var/lib/apt/lists/*
23+
ADD --chmod=644 --checksum=sha256:a18508b9348af095ea41301e439354dbd449e304ac44c6885b2b4fe78de88126 \
24+
https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/${HADOOP_VERSION}/hadoop-aws-${HADOOP_VERSION}.jar \
25+
/opt/hive/lib/hadoop-aws-${HADOOP_VERSION}.jar
26+
ADD --chmod=644 --checksum=sha256:faf78ac4880f56cf52791d84ec1068ce7c66acc4295d580a726104b734c01fcd \
27+
https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.11.271/aws-java-sdk-bundle-1.11.271.jar \
28+
/opt/hive/lib/aws-java-sdk-bundle-1.11.271.jar
2729

2830
COPY core-site.xml /opt/hadoop/etc/hadoop/core-site.xml
2931

0 commit comments

Comments
 (0)