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

This commit is contained in:
tedyu 2016-06-11 07:07:39 -07:00 committed by Ted
parent d1bec9d0b8
commit cb331507b9
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,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);
}