Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
some comment
  • Loading branch information
wypb committed Apr 1, 2017
1 parent d1526d4 commit 48433aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public static Job newJob(@Nullable SerializableConfiguration conf) throws IOExce
if (conf == null) {
return Job.getInstance();
} else {
// Don't reading configuration from slave thread, but only from master thread.
Job job = Job.getInstance(new Configuration(false));
for (Map.Entry<String, String> entry : conf.get()) {
job.getConfiguration().set(entry.getKey(), entry.getValue());
Expand Down

0 comments on commit 48433aa

Please sign in to comment.