hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-16007 Job's Configuration should be passed to TableMapReduceUtil#addDependencyJars() in WALPlayer
Date Sat, 11 Jun 2016 14:09:00 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 dac8c2bb1 -> e0f006e65


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e0f006e6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e0f006e6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e0f006e6

Branch: refs/heads/branch-1.3
Commit: e0f006e659d780a87962055ce0854cb5eb0a408b
Parents: dac8c2b
Author: tedyu <yuzhihong@gmail.com>
Authored: Sat Jun 11 07:08:51 2016 -0700
Committer: Ted <yuzhihong@gmail.com>
Committed: Sat Jun 11 07:08:51 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e0f006e6/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
----------------------------------------------------------------------
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 f16aecb..7ffd222 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);
     }


Mime
View raw message