beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsdinter <...@git.apache.org>
Subject [GitHub] beam pull request #4136: [BEAM-3184] Added ProxyInfoFromEnvironmentVar() & G...
Date Wed, 15 Nov 2017 15:40:50 GMT
GitHub user dsdinter opened a pull request:

    https://github.com/apache/beam/pull/4136

    [BEAM-3184] Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods for GCS

    This PR meant to fix BEAM-3184 "Not able to access GCS API when submitting Python jobs
behind corporate firewall".
    Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods to get proxy environment
settings in gcsio.py module in Python SDK, this is to add methods to pick up proxy settings
from environment variables in the httplib2 library, allowing to submit jobs from behind a
corporate proxy by connecting to GCS buckets.
    
    Note: These methods are based from GCP gsutil Python tool.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dsdinter/beam python-proxy

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/4136.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4136
    
----
commit 83a54b5b5695783967a175c4623af31997e52b35
Author: David Sabater Dinter <david.sabater@gmail.com>
Date:   2017-11-13T22:18:30Z

    Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods to get proxy environment
settings.

----


---

Mime
View raw message