@@ -52,22 +52,22 @@ The following steps are optional if:
5252
53531 . Grant the ` roles/storage.objectViewer ` role to the bucket to get and list objects from a Dataflow job:
5454
55- gsutil --debug iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectViewer gs://[BUCKET_NAME]
55+ gsutil iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectViewer gs://[BUCKET_NAME]
5656
5757 * Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
5858 * Replace ` [BUCKET_NAME] ` with the bucket you use to read your input data.
5959
60601 . Grant the ` roles/storage.objectCreator ` role to the bucket to create objects on output from a Dataflow job:
6161
62- gsutil --debug iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectCreator gs://[BUCKET_NAME]
62+ gsutil iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectCreator gs://[BUCKET_NAME]
6363
6464 * Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
6565 * Replace ` [BUCKET_NAME] ` with the bucket you use to read your input data.
6666
67671 . If the bucket contains both input and output data, grant the ` roles/storage.objectAdmin ` role to the default service
6868 account using the gsutil:
6969
70- gsutil --debug iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectAdmin gs://[BUCKET_NAME]
70+ gsutil iam ch serviceAccount:[COMPUTE_DEFAULT_SERVICE_ACCOUNT]:objectAdmin gs://[BUCKET_NAME]
7171
7272 * Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
7373 * Replace ` [BUCKET_NAME] ` with the bucket you use to read and write your input and output data respectively.
@@ -89,7 +89,7 @@ mvn compile exec:java -Dexec.mainClass=com.example.AvroToCsv \
8989Full description of options can be found by using the following command:
9090
9191``` bash
92- mvn compile exec:java -Dexec.mainClass=org.solution. example.AvroToCsv -Dexec.args=" --help=org.solution .example.SampleOptions"
92+ mvn compile exec:java -Dexec.mainClass=com. example.AvroToCsv -Dexec.args=" --help=com .example.SampleOptions"
9393```
9494
9595### CSV to Avro transformation
@@ -106,7 +106,7 @@ mvn compile exec:java -Dexec.mainClass=com.example.CsvToAvro \
106106Full description of options can be found by using the following command:
107107
108108``` bash
109- mvn compile exec:java -Dexec.mainClass=org.solution. example.CsvToAvro -Dexec.args=" --help=org.solution .example.SampleOptions"
109+ mvn compile exec:java -Dexec.mainClass=com. example.CsvToAvro -Dexec.args=" --help=com .example.SampleOptions"
110110```
111111
112112Existing example does not support headers in a CSV files.
0 commit comments