hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndimi...@apache.org
Subject hbase git commit: HBASE-13604 bin/hbase mapredcp does not include yammer-metrics jar
Date Fri, 01 May 2015 16:37:49 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 dc7db384e -> 3b8aab5b8


HBASE-13604 bin/hbase mapredcp does not include yammer-metrics jar


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

Branch: refs/heads/0.98
Commit: 3b8aab5b8dccb9c0f78bb1765b73c3fc75346a32
Parents: dc7db38
Author: Nick Dimiduk <ndimiduk@apache.org>
Authored: Thu Apr 30 15:43:59 2015 -0700
Committer: Nick Dimiduk <ndimiduk@apache.org>
Committed: Fri May 1 09:15:57 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3b8aab5b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
index d602bed..1041fbf 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
@@ -64,7 +64,6 @@ import org.apache.hadoop.mapreduce.InputFormat;
 import org.apache.hadoop.mapreduce.Job;
 import org.apache.hadoop.util.StringUtils;
 import com.google.protobuf.InvalidProtocolBufferException;
-import com.yammer.metrics.core.MetricsRegistry;
 
 /**
  * Utility for {@link TableMapper} and {@link TableReducer}
@@ -310,7 +309,6 @@ public class TableMapReduceUtil {
     TableSnapshotInputFormat.setInput(job, snapshotName, tmpRestoreDir);
     initTableMapperJob(snapshotName, scan, mapper, outputKeyClass,
         outputValueClass, job, addDependencyJars, false, TableSnapshotInputFormat.class);
-    addDependencyJars(job.getConfiguration(), MetricsRegistry.class);
     resetCacheConfig(job.getConfiguration());
   }
 
@@ -702,7 +700,8 @@ public class TableMapReduceUtil {
       com.google.protobuf.Message.class,
       com.google.common.collect.Lists.class,
       org.cloudera.htrace.Trace.class,
-      org.cliffc.high_scale_lib.Counter.class); // needed for mapred over snapshots
+      org.cliffc.high_scale_lib.Counter.class,
+      com.yammer.metrics.core.MetricsRegistry.class); // needed for mapred over snapshots
   }
 
   /**


Mime
View raw message