From cb331507b9e4182d9ef3f590851efd9cc61f1afd Mon Sep 17 00:00:00 2001 From: tedyu Date: Sat, 11 Jun 2016 07:07:39 -0700 Subject: [PATCH] HBASE-16007 Job's Configuration should be passed to TableMapReduceUtil#addDependencyJars() in WALPlayer --- .../main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java index f16aecbf590..7ffd222cd35 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java @@ -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); }