8000 [Dataflow] Fix errors in README.md (#1142) · ssahaya/java-docs-samples@3213bdb · GitHub
[go: up one dir, main page]

Skip to content

Commit 3213bdb

Browse files
frankynjabubake
authored andcommitted
[Dataflow] Fix errors in README.md (GoogleCloudPlatform#1142)
1 parent 926ee14 commit 3213bdb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dataflow/transforms/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ The following steps are optional if:
5252

5353
1. 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

6060
1. 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

6767
1. 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 \
8989
Full 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 \
106106
Full 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

112112
Existing example does not support headers in a CSV files.

0 commit comments

Comments
 (0)
0