Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18665 )

Change subject: IMPALA-11359: add no-check-certificate to wget in 
bootstrap_toolchain.py
......................................................................


Patch Set 1:

(1 comment)

Thanks for taking a look! I'll abandon this.

http://gerrit.cloudera.org:8080/#/c/18665/1/bin/bootstrap_toolchain.py
File bin/bootstrap_toolchain.py:

http://gerrit.cloudera.org:8080/#/c/18665/1/bin/bootstrap_toolchain.py@133
PS1, Line 133:       cmd = ["wget", "--no-check-certificate", download_path,
> This seems like a bad idea. What scenario did you run into where it seemed
Somehow the certificate verification failed in my env so I need this to simply 
workaround the error.

2022-06-16 08:12:31,535 Thread-1 ERROR: Download failed; retrying after sleep: 
Command with args '['wget', 
'https://www.apache.org/dyn/closer.cgi/hive/hive-3.1.2/apache-hive-3.1.2-src.tar.gz?action=download',
 
'--output-document=/home/quanlong/workspace/Impala/toolchain/apache_components/apache-hive-3.1.2-src.tar.gz']'
 failed with exit code 5:
--2022-06-16 08:12:30--  
https://www.apache.org/dyn/closer.cgi/hive/hive-3.1.2/apache-hive-3.1.2-src.tar.gz?action=download
Resolving www.apache.org (www.apache.org)... 151.101.2.132, 2a04:4e42::644
Connecting to www.apache.org (www.apache.org)|151.101.2.132|:443... connected.
ERROR: cannot verify www.apache.org's certificate, issued by ‘CN=R3,O=Let's 
Encrypt,C=US’:
  Issued certificate has expired.
To connect to www.apache.org insecurely, use `--no-check-certificate'.

I'm ok to abandon this.



--
To view, visit http://gerrit.cloudera.org:8080/18665
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If8d74bf85b3462c84660c83f2832d4270eb38d31
Gerrit-Change-Number: 18665
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Comment-Date: Sat, 02 Jul 2022 02:31:23 +0000
Gerrit-HasComments: Yes

Reply via email to