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

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented May 23, 2024

Could not fetch URL https://pypi.python.org/simple/supervisor/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618) - skipping
Could not find a version that satisfies the requirement supervisor (from versions: )

@cla-bot cla-bot bot added the cla-signed label May 23, 2024
@ebyhr ebyhr changed the title Update pip Fix ssl certificate error May 23, 2024
@ebyhr ebyhr force-pushed the ebi/fix branch 5 times, most recently from c9e92b7 to 4aa8649 Compare May 23, 2024 22:02
@ebyhr
Copy link
Member Author

ebyhr commented May 23, 2024

Hit another issue. Looking for the new download link:

 > [ 4/10] RUN curl -fLsS -o /tmp/hive.tar.gz --url https://downloads.apache.org/hive/hive-3.1.2/apache-hive-3.1.2-bin.tar.gz &&     tar xzf /tmp/hive.tar.gz --directory /opt && mv /opt/apache-hive-3.1.2-bin /opt/hive:
0.890 curl: (22) The requested URL returned error: 404 Not Found

edit: https://dlcdn.apache.org/hive/hive-3.1.3/apache-hive-3.1.3-bin.tar.gz seems the new link. I can't find version 3.1.2.

@@ -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               | ===============================================

@anusudarsan
Copy link
Member

the ssl related fix LGTM

@ebyhr ebyhr changed the title Fix ssl certificate error Fix ssl certificate error and broken Hive download link May 23, 2024
@ebyhr ebyhr marked this pull request as ready for review May 23, 2024 22:49
@ebyhr ebyhr requested review from wendigo and hashhar May 23, 2024 23:18
@wendigo wendigo merged commit 31ec4ad into master May 24, 2024
23 checks passed
@ebyhr ebyhr deleted the ebi/fix branch May 24, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants