[ 
https://issues.apache.org/jira/browse/BEAM-3893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Rohde resolved BEAM-3893.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

> Go SDK GCS I/O shouldn't require credentials to read from public buckets
> ------------------------------------------------------------------------
>
>                 Key: BEAM-3893
>                 URL: https://issues.apache.org/jira/browse/BEAM-3893
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Henning Rohde
>            Priority: Minor
>             Fix For: 2.5.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We should handle the case where application default credentials are not 
> available for public reads. Wordcount running a container fails currently:
> 2018/03/20 20:03:00 Failed to execute job: panic: panic: failed to create GCE 
> client: google: could not find default credentials. See 
> https://developers.google.com/accounts/docs/application-default-credentials 
> for more information. goroutine 1 [running]:
> runtime/debug.Stack(0xc4201728a0, 0xc39460, 0xc4201c0120)
>       /usr/local/go/src/runtime/debug/stack.go:24 +0xa7
> github.com/apache/beam/sdks/go/pkg/beam/core/util/reflectx.CallNoPanic.func1(0xc420172f80)
>       
> /foo/src/github.com/apache/beam/sdks/go/pkg/beam/core/util/reflectx/call.go:98
>  +0x6e
> panic(0xc39460, 0xc4201c0120)
>       /usr/local/go/src/runtime/panic.go:491 +0x283
> github.com/apache/beam/sdks/go/pkg/beam/io/textio/gcs.New(0x12f3500, 
> 0xc420014060, 0xc420094c40, 0x2)
>       
> /foo/src/github.com/apache/beam/sdks/go/pkg/beam/io/textio/gcs/gcs.go:44 
> +0x16e
> github.com/apache/beam/sdks/go/pkg/beam/io/textio.newFileSystem(0x12f3500, 
> 0xc420014060, 0xc420094c40, 0x31, 0xc420172b50, 0x4bf4ef, 0xc37e60, 0xc37e60)
>       /foo/src/github.com/apache/beam/sdks/go/pkg/beam/io/textio/textio.go:68 
> +0xac



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to