You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/26 00:13:49 UTC
[GitHub] [hadoop-ozone] runzhiwang opened a new pull request #392:
HDDS-2807. Fix sudo reset the environment variables about proxy
runzhiwang opened a new pull request #392: HDDS-2807. Fix sudo reset the environment variables about proxy
URL: https://github.com/apache/hadoop-ozone/pull/392
## What changes were proposed in this pull request?
How to reproduce the problem:
When run the compose/ozone-mr/hadoop27/test.sh on my computer which connect outer 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.
How to fix:
By sudo -E, it will execute the command with the environment of the user, thus the proxy can be valid.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/projects/HDDS/issues/HDDS-2805
## How was this patch tested?
Execute compose/ozone-mr/hadoop27/test.sh on computer which connect outer network .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] runzhiwang commented on issue #392: HDDS-2807. Fix
sudo reset the environment variables about proxy
Posted by GitBox <gi...@apache.org>.
runzhiwang commented on issue #392: HDDS-2807. Fix sudo reset the environment variables about proxy
URL: https://github.com/apache/hadoop-ozone/pull/392#issuecomment-568941343
@elek Could you help review this PR ? Thank you very much.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] adoroszlai merged pull request #392: HDDS-2805. Fix
sudo reset the environment variables about proxy
Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #392: HDDS-2805. Fix sudo reset the environment variables about proxy
URL: https://github.com/apache/hadoop-ozone/pull/392
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org