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