Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ssl certificate error and broken Hive download link #199

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions testing/centos7-oj11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ RUN \
\
# install supervisor
yum --enablerepo=extras install -y setuptools epel-release && \
yum install -y python-pip && \
pip install supervisor && \
yum install -y supervisor && \
\
# install commonly needed packages
yum install -y \
Expand Down
3 changes: 1 addition & 2 deletions testing/centos7-oj17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ RUN \
\
# install supervisor
yum --enablerepo=extras install -y setuptools epel-release && \
yum install -y python-pip && \
pip install supervisor && \
yum install -y supervisor && \
\
# install commonly needed packages
yum install -y \
Expand Down
4 changes: 2 additions & 2 deletions testing/hive3.1-hive/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ RUN yum install -y \
ENV JAVA_HOME=/usr/lib/jvm/zulu-8

ARG HADOOP_VERSION=3.1.2
ARG HIVE_VERSION=3.1.2
ARG HIVE_VERSION=3.1.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we run some tests locally with this before merging?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I ran the following command and all tests passed:

testing/bin/ptl suite run --config config-apache-hive3 --suite suite-hms-only
... 
tests               | ===============================================
tests               | tempto-tests
tests               | Total tests run: 81, Failures: 0, Skips: 0
tests               | ===============================================


# TODO Apache Archive is rate limited -- these should probably go in S3
ARG HADOOP_BINARY_PATH=https://archive.apache.org/dist/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz
ARG HIVE_BINARY_PATH=https://downloads.apache.org/hive/hive-$HIVE_VERSION/apache-hive-$HIVE_VERSION-bin.tar.gz
ARG HIVE_BINARY_PATH=https://dlcdn.apache.org/hive/hive-$HIVE_VERSION/apache-hive-$HIVE_VERSION-bin.tar.gz

RUN curl -fLsS -o /tmp/hadoop.tar.gz --url $HADOOP_BINARY_PATH && \
tar xzf /tmp/hadoop.tar.gz --directory /opt && mv /opt/hadoop-$HADOOP_VERSION /opt/hadoop
Expand Down
Loading