Permalink
Browse files

Merge pull request #52 from twitter/distributed_lzo_indexer_conf

Stop explicitly setting configuration in DistributedLzoIndexer as its not necessary
  • Loading branch information...
2 parents 710cc50 + e98ec3e commit e94d5a8ae3686058c36204c97dfb49507fd2a152 @rangadi rangadi 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 e94d5a8

Please sign in to comment.