[
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. (was: When run compose/ozonesecure/test.sh and
compose/ozonesecure-mr/test.sh in my machine which connect network by proxy, it
fails to wget -O [https://github.com|https://github.com/] as the image show.
Because the version of wget in openjdk:8u191-jdk-alpine3.9 is too low, it
cannot resolve the proxy of https.
!image-2019-12-26-19-13-55-847.png!)
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]