HBASE-16007 Job's Configuration should be passed to TableMapReduceUtil#addDependencyJars() in WALPlayer

This commit is contained in:
tedyu 2016-06-11 07:05:27 -07:00 committed by Ted
parent 4c885f4fdb
commit 6360cc0307
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ public class WALPlayer extends Configured implements Tool {
}
String codecCls = WALCellCodec.getWALCellCodecClass(conf);
try {
TableMapReduceUtil.addDependencyJars(conf, Class.forName(codecCls));
TableMapReduceUtil.addDependencyJars(job.getConfiguration(), Class.forName(codecCls));
} catch (Exception e) {
throw new IOException("Cannot determine wal codec class " + codecCls, e);
}