[
https://issues.apache.org/jira/browse/HDDS-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003581#comment-17003581
]
runzhiwang commented on HDDS-2805:
----------------------------------
https://github.com/apache/hadoop-ozone/pull/392
> sudo reset the environment variables about proxy
> ------------------------------------------------
>
> Key: HDDS-2805
> URL: https://issues.apache.org/jira/browse/HDDS-2805
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Reporter: runzhiwang
> Priority: Major
>
> 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]