beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Altay (JIRA)" <>
Subject [jira] [Created] (BEAM-539) Error when writing to the root of a GCS location
Date Mon, 08 Aug 2016 22:07:20 GMT
Ahmet Altay created BEAM-539:

             Summary: Error when writing to the root of a GCS location
                 Key: BEAM-539
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Ahmet Altay
            Assignee: Chamikara Jayalath
            Priority: Minor

User issue:

Reproduction: use a TextFileSink and set output locations as gs://mybucket and it fails. Change
it to gs://mybucket/ and it works.

The final output path is generated here:

And this seemingly works in the Java SDK.


  File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/", line 1058, in finish_bundle
    yield window.TimestampedValue(self.writer.close(), window.MAX_TIMESTAMP)
  File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/", line 601, in close
  File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/", line 687, in close
  File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/", line 617, in close
  File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/", line 647, in _flush_write_buffer
    raise self.upload_thread.last_error  # pylint: disable=raising-bad-type
HttpError: HttpError accessing <>:
response: <{'status': '404', 'alternate-protocol': '443:quic', 'content-length': '165',
'vary': 'Origin, X-Origin', 'server': 'UploadServer', 'x-guploader-uploadid': 'AEnB2Uq6ZGb_CsrMVxozv6aL48k4OMMiRgYVeVGmJrM-sMQWRGeGMkesOQg5F0W7HZuaqTBog_d4ml-DlIars_ZvJTejdfcbAUr4gswZWVieq82ufc3WR2g',
'date': 'Mon, 08 Aug 2016 21:29:46 GMT', 'alt-svc': 'quic=":443"; ma=2592000; v="36,35,34,33,32,31,30"',
'content-type': 'application/json; charset=UTF-8'}>, content <{
 "error": {
  "errors": [
    "domain": "global",
    "reason": "notFound",
    "message": "Not Found"
  "code": 404,
  "message": "Not Found"

This message was sent by Atlassian JIRA

View raw message