[
https://issues.apache.org/jira/browse/IMPALA-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194393#comment-17194393
]
ASF subversion and git services commented on IMPALA-10093:
----------------------------------------------------------
Commit 7baa31ea04b4d025b882c46848ca682f0b5beb2a in impala's branch
refs/heads/master from guojingfeng
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7baa31e ]
IMPALA-10093: Replace urllib with wget to download python deps
When build impala in Company internal network, pip_download.py
failed to download dependency eggs from https engpoint Although
correcly set system proxy like http_proxy, https_proxy. Is is
a issue of python2's urllib. I just replace urllib with wget
which can works well with system proxy like https_proxy.
Change-Id: I146d93312701fd682420cb65cf4738bc030f3cfb
Reviewed-on: http://gerrit.cloudera.org:8080/16344
Reviewed-by: Tim Armstrong <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> pip_download.py can not detect system proxy correctly
> -----------------------------------------------------
>
> Key: IMPALA-10093
> URL: https://issues.apache.org/jira/browse/IMPALA-10093
> Project: IMPALA
> Issue Type: Improvement
> Reporter: guojingfeng
> Assignee: guojingfeng
> Priority: Minor
>
> When build impala from source in Company Internal network, `pip_download.py`
> failed to download dependency eggs from https endpoint Although correctly set
> system proxy like http_proxy, https_proxy, no_proxy
> The documentation for urllib2 says that:
> {quote}Note Currently urllib2 does not support fetching of https locations
> through a proxy. However, this can be enabled by extending urllib2 as shown
> in the recipe 7.
> {quote}
> [https://docs.python.org/2/howto/urllib2.html#proxies]
>
> After some research, i found that curl works well with this. Is it feasible
> to replace urllib with curl?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]