Permalink
Browse files

This is related to #48

Looking at ToolRunner, the configuration is already set, so this is not necessary. By updating in this way users can set the configuration if necessary too.
  • Loading branch information...
1 parent cdf9ab8 commit e98ec3eeb0423fb8dee4b70d2bc972611e5fae58 Travis Crawford committed Jul 20, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/java/com/hadoop/compression/lzo/DistributedLzoIndexer.java
@@ -86,8 +86,7 @@ public int run(String[] args) throws Exception {
return 0;
}
- Configuration conf = new Configuration();
- Job job = new Job(conf);
+ Job job = new Job(getConf());
job.setJobName("Distributed Lzo Indexer " + Arrays.toString(args));
job.setOutputKeyClass(Path.class);

0 comments on commit e98ec3e

Please sign in to comment.