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