You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 20:54:26 UTC
[GitHub] [beam] damccorm opened a new issue, #21002: Dataflow runner throws unclear exception when credential is not set properly
damccorm opened a new issue, #21002:
URL: https://github.com/apache/beam/issues/21002
```
Caused by: java.lang.IllegalArgumentException: Error constructing default value for gcpTempLocation:
tempLocation is not a valid GCS path, gs://....
at org.apache.beam.sdk.extensions.gcp.options.GcpOptions$GcpTempLocationFactory.create(GcpOptions.java:319)
at org.apache.beam.sdk.extensions.gcp.options.GcpOptions$GcpTempLocationFactory.create(GcpOptions.java:297)
at org.apache.beam.sdk.options.ProxyInvocationHandler.returnDefaultHelper(ProxyInvocationHandler.java:605)
at org.apache.beam.sdk.options.ProxyInvocationHandler.getDefault(ProxyInvocationHandler.java:546)
at org.apache.beam.sdk.options.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:171)
at com.sun.proxy.$Proxy25.getGcpTempLocation(Unknown Source)
at org.apache.beam.runners.dataflow.DataflowRunner.fromOptions(DataflowRunner.java:278)
... 16 more
Caused by: java.lang.IllegalArgumentException: Output path does not exist or is
not writeable: gs://...
```
When user submits pipeline but the google cloud credential was not set properly in the terminal, the runner throw above exception, which is confusing.
Proper exception regarding credential issues should be more clear for user to troubleshoot.
Imported from Jira [BEAM-12718](https://issues.apache.org/jira/browse/BEAM-12718). Original Jira may contain additional context.
Reported by: yichi.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org