Skip to content

Commit

Permalink
[hotfix] Removed execute() that followed print() in quickstart wordco…
Browse files Browse the repository at this point in the history
…unt jobs
  • Loading branch information
fhueske committed Jun 16, 2015
1 parent b59c81b commit d381541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ public static void main(String[] args) throws Exception {
.groupBy(0)
.sum(1);

// emit result
// execute and print result
counts.print();

// execute program
env.execute("WordCount Example");
}

//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ object WordCount {
.groupBy(0)
.sum(1)

// emit result
// execute and print result
counts.print()

// execute program
env.execute("WordCount Example")
}
}

0 comments on commit d381541

Please sign in to comment.