Hi Shrikant,
Pay attention in your parameter --output=gs://test-bucket*/c *\
Your configuration is indicate directory /c , not  */b*

So, check in your Storage GCP if exist this directory : /c (
-output=gs://test-bucket/c )
and check :
gsutil ls  gs://test-bucket*/c*


Cheers
Carlos Molina

On Thu, Feb 21, 2019 at 3:09 PM shrikant bang <mailtoshrikant.b...@gmail.com>
wrote:

> Hi Team,
>
> I have tried running WordCount with DataflowRunner on GC. However I am
> getting exception as
>
>                  Caused by: java.lang.IllegalArgumentException: *Output
> path does not exist or is not writeable: gs://test-bucket/b.*
>
> However, gs://test-bucket/b exists and can be accessible by gsutil
>
> #>gsutil ls  gs://test-bucket/b
>
>  gs://test-bucket/b
>
>
> Below is command I tried running from word-count-beam folder:
>
> mvn -Pdataflow-runner compile exec:java
>  -Dexec.mainClass=org.apache.beam.examples.WordCount
> -Dexec.args="--project=demo-project \
>     --stagingLocation=gs://test-bucket/a \
>     --gcpTempLocation=gs://test-bucket/b \
>     --output=gs://test-bucket/c \
>     --serviceAccount=<service-account-email-address> \
>     --runner=DataflowRunner \
>
> --subnetwork=projects/shared-vpc-admin/regions/<net>/subnetworks/<subnet>""
>
>
> Can someone please help me, If anything missing with configuration or
> pre-requisite?
>
> Thank You,
> Shrikant Bang.
>

Reply via email to