Skip to content

Commit da85c84

Browse files
authored
minor change so tutorial matches codelab (GoogleCloudPlatform#3552)
1 parent 6e45bc9 commit da85c84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer/workflows/hadoop_tutorial.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
'file:///usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
4343
)
4444
# Arguments to pass to Cloud Dataproc job.
45-
wordcount_args = ['wordcount', 'gs://pub/shakespeare/rose.txt', output_file]
45+
input_file = 'gs://pub/shakespeare/rose.txt'
46+
wordcount_args = ['wordcount', input_file, output_file]
4647

4748
yesterday = datetime.datetime.combine(
4849
datetime.datetime.today() - datetime.timedelta(1),

0 commit comments

Comments
 (0)