You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/12/27 07:28:00 UTC
[jira] [Resolved] (HDDS-2805) sudo reset the environment variables
about proxy
[ https://issues.apache.org/jira/browse/HDDS-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-2805.
------------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
Thanks [~runzhiwang] for reporting and fixing this issue.
> 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
> Assignee: runzhiwang
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org