[
https://issues.apache.org/jira/browse/HDDS-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
runzhiwang updated HDDS-2812:
-----------------------------
Description:
When run the compose/ozone-mr/hadoop27/test.sh in my machine which connect
network by proxy, it fails to execute sudo apk add --update py-pip in docker
container. Because sudo will reset all environment variables including the
proxy, so it fails to download
[http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz.]
By sudo -E, it will execute the command with the environment of the user, thus
the proxy can be valid.
!image-2019-12-26-19-27-51-010.png!
was:When run the compose/ozone-mr/hadoop27/test.sh in my machine which
connect network by proxy, it fails to execute sudo apk add --update py-pip in
docker container. Because sudo will reset all environment variables including
the proxy, so it fails to download
[http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz.]
By sudo -E, it will execute the command with the environment of the user, thus
the proxy can be valid.
> Fix low version wget cannot resolve the proxy of https
> ------------------------------------------------------
>
> Key: HDDS-2812
> URL: https://issues.apache.org/jira/browse/HDDS-2812
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Reporter: runzhiwang
> Priority: Major
> Attachments: image-2019-12-26-19-27-51-010.png
>
>
> When run the compose/ozone-mr/hadoop27/test.sh in my machine which connect
> network by proxy, it fails to execute sudo apk add --update py-pip in docker
> container. Because sudo will reset all environment variables including the
> proxy, so it fails to download
> [http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz.]
> By sudo -E, it will execute the command with the environment of the user,
> thus the proxy can be valid.
> !image-2019-12-26-19-27-51-010.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]