[
https://issues.apache.org/jira/browse/BEAM-3990?focusedWorklogId=86915&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-86915
]
ASF GitHub Bot logged work on BEAM-3990:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Apr/18 02:52
Start Date: 03/Apr/18 02:52
Worklog Time Spent: 10m
Work Description: charlesccychen commented on issue #5000: [BEAM-3990]
Revert "[BEAM-2264] Credentials were not being reused between GCS calls"
URL: https://github.com/apache/beam/pull/5000#issuecomment-378112012
LGTM. For context, the previous change seemed to have some race condition,
likely involving httplib2, in a job when run at scale.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 86915)
Time Spent: 0.5h (was: 20m)
> Dataflow jobs fail with "KeyError: 'location'" when uploading to GCS
> --------------------------------------------------------------------
>
> Key: BEAM-3990
> URL: https://issues.apache.org/jira/browse/BEAM-3990
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Chamikara Jayalath
> Assignee: Charles Chen
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Some Dataflow jobs are failing due to following error (in worker logs).
>
> Error in _start_upload while inserting file
> gs://cloud-ml-benchmark-output-us-central/df1-cloudml-benchmark-criteo-small-python-033010274088282-presubmit3/033010274088282/temp/df1-cloudml-benchmark-criteo-small-python-033010274088282-presubmit3.1522430898.446147/dax-tmp-2018-03-30_10_28_40-14595186994726940229-S241-1-dc87ef69274882bf/tmp-dc87ef6927488c5a-shard--try-308ae8b3268d12b2-endshard.avro:
> Traceback (most recent call last): File
> "/usr/local/lib/python2.7/dist-packages/apache_beam/io/gcp/gcsio.py", line
> 559, in _start_upload self._client.objects.Insert(self._insert_request,
> upload=self._upload) File
> "/usr/local/lib/python2.7/dist-packages/apache_beam/io/gcp/internal/clients/storage/storage_v1_client.py",
> line 971, in Insert download=download) File
> "/usr/local/lib/python2.7/dist-packages/apitools/base/py/base_api.py", line
> 706, in _RunMethod http_request, client=self.client) File
> "/usr/local/lib/python2.7/dist-packages/apitools/base/py/transfer.py", line
> 860, in InitializeUpload url =
> [http_response.info|https://www.google.com/url?q=http://http_response.info&sa=D&usg=AFQjCNGvYHYJBb_G4YNo3VvGoqX2Gq-6Yw]['location']
> KeyError: 'location'
>
> This seems to be due to [https://github.com/apache/beam/pull/4891.] Possibly
> storage.StorageV1() cannot be shared across multiple requests without
> additional fixes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)