You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/03 02:48:00 UTC

[jira] [Work logged] (BEAM-3990) Dataflow jobs fail with "KeyError: 'location'" when uploading to GCS

     [ https://issues.apache.org/jira/browse/BEAM-3990?focusedWorklogId=86913&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-86913 ]

ASF GitHub Bot logged work on BEAM-3990:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Apr/18 02:47
            Start Date: 03/Apr/18 02:47
    Worklog Time Spent: 10m 
      Work Description: chamikaramj opened a new pull request #5000: [BEAM-3990] Revert "[BEAM-2264] Credentials were not being reused between GCS calls"
URL: https://github.com/apache/beam/pull/5000
 
 
   This reverts commit 4045e3285d939e3e8169f278d47bc7fdc86bcbdf.
   
   DESCRIPTION HERE
   
   ------------------------
   
   Follow this checklist to help us incorporate your contribution quickly and easily:
   
    - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
    - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue.
    - [ ] Write a pull request description that is detailed enough to understand:
      - [ ] What the pull request does
      - [ ] Why it does it
      - [ ] How it does it
      - [ ] Why this approach
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
    - [ ] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 86913)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>            Priority: Major
>          Time Spent: 10m
>  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)