@@ -52,22 +52,22 @@ The following steps are optional if:
52
52
53
53
1 . Grant the ` roles/storage.objectViewer ` role to the bucket to get and list objects from a Dataflow job:
54
54
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]
56
56
57
57
* Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
58
58
* Replace ` [BUCKET_NAME] ` with the bucket you use to read your input data.
59
59
60
60
1 . Grant the ` roles/storage.objectCreator ` role to the bucket to create objects on output from a Dataflow job:
61
61
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]
63
63
64
64
* Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
65
65
* Replace ` [BUCKET_NAME] ` with the bucket you use to read your input data.
66
66
67
67
1 . If the bucket contains both input and output data, grant the ` roles/storage.objectAdmin ` role to the default service
68
68
account using the gsutil:
69
69
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]
71
71
72
72
* Replace ` [COMPUTE_DEFAULT_SERVICE_ACCOUNT] ` with the Compute Engine default service account.
73
73
* 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 \
89
89
Full description of options can be found by using the following command:
90
90
91
91
``` 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"
93
93
```
94
94
95
95
### CSV to Avro transformation
@@ -106,7 +106,7 @@ mvn compile exec:java -Dexec.mainClass=com.example.CsvToAvro \
106
106
Full description of options can be found by using the following command:
107
107
108
108
``` 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"
110
110
```
111
111
112
112
Existing example does not support headers in a CSV files.
0 commit comments