HBASE-16007 Job's Configuration should be passed to TableMapReduceUtil#addDependencyJars() in WALPlayer
This commit is contained in:
parent
4c885f4fdb
commit
6360cc0307
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue