Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Renamed --input to --inputFile for WordCount
Browse files Browse the repository at this point in the history
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=96984656
  • Loading branch information
lukecwik committed Jun 26, 2015
1 parent c4b7682 commit 4c7f018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_wordcount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function run_via_mvn {
local outfile_prefix="$(get_outfile_prefix "$name")" || exit 2
local cmd='mvn exec:java -f '"$TOPDIR"'/pom.xml -pl examples \
-Dexec.mainClass=com.google.cloud.dataflow.examples.WordCount \
-Dexec.args="--runner=DirectPipelineRunner --input='"$input"' --output='"$outfile_prefix"'"'
-Dexec.args="--runner=DirectPipelineRunner --inputFile='"$input"' --output='"$outfile_prefix"'"'
echo "$name: Running $cmd" >&2
sh -c "$cmd"
check_result_hash "$name" "$outfile_prefix" "$expected_hash"
Expand All @@ -77,7 +77,7 @@ function run_bundled {
local cmd='java -cp '"$JAR_FILE"' \
com.google.cloud.dataflow.examples.WordCount \
--runner=DirectPipelineRunner \
--input='"'$input'"' \
--inputFile='"'$input'"' \
--output='"$outfile_prefix"
echo "$name: Running $cmd" >&2
sh -c "$cmd"
Expand Down

0 comments on commit 4c7f018

Please sign in to comment.