Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> git commit: DRILL-300: Move to "com.codahale.metrics" from "com.yammer.metrics"


Copy link to this message
-
git commit: DRILL-300: Move to "com.codahale.metrics" from "com.yammer.metrics"
Updated Branches:
  refs/heads/master dd39a5b79 -> 3e2000341
DRILL-300: Move to "com.codahale.metrics" from "com.yammer.metrics"
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/3e200034
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/3e200034
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/3e200034

Branch: refs/heads/master
Commit: 3e2000341614be1345d963ccc3bffecb2922205d
Parents: dd39a5b
Author: Aditya Kishore <[EMAIL PROTECTED]>
Authored: Mon Nov 18 09:46:00 2013 -0800
Committer: Jacques Nadeau <[EMAIL PROTECTED]>
Committed: Mon Nov 18 09:46:00 2013 -0800

----------------------------------------------------------------------
 exec/java-exec/pom.xml                                  |  4 ++--
 .../drill/exec/cache/VectorAccessibleSerializable.java  |  4 ++--
 .../org/apache/drill/exec/metrics/DrillMetrics.java     |  8 ++++----
 .../drill/exec/metrics/SingleThreadNestedCounter.java   |  2 +-
 .../java/org/apache/drill/exec/ops/FragmentContext.java |  4 ++--
 .../org/apache/drill/exec/server/BootStrapContext.java  |  4 ++--
 .../org/apache/drill/exec/server/DrillbitContext.java   |  2 +-
 .../org/apache/drill/exec/store/AffinityCalculator.java |  4 ++--
 .../drill/exec/store/parquet/ParquetGroupScan.java      |  6 +++---
 .../java/org/apache/drill/exec/work/FragmentRunner.java |  2 +-
 .../java/org/apache/drill/exec/client/DumpCatTest.java  |  4 ++--
 .../apache/drill/exec/fn/impl/TestRepeatedFunction.java |  4 ++--
 .../exec/physical/impl/TestComparisonFunctions.java     |  4 ++--
 .../apache/drill/exec/physical/impl/TestOptiqPlans.java |  6 +++---
 .../drill/exec/physical/impl/TestSimpleFunctions.java   | 12 ++++++------
 .../apache/drill/exec/physical/impl/agg/TestAgg.java    |  4 ++--
 .../exec/physical/impl/filter/TestSimpleFilter.java     |  6 +++---
 .../drill/exec/physical/impl/join/TestMergeJoin.java    | 10 +++++-----
 .../drill/exec/physical/impl/limit/TestSimpleLimit.java |  8 ++++----
 .../physical/impl/project/TestSimpleProjection.java     |  4 ++--
 .../drill/exec/physical/impl/sort/TestSimpleSort.java   |  6 +++---
 .../exec/physical/impl/svremover/TestSVRemover.java     |  4 ++--
 .../physical/impl/trace/TestTraceMultiRecordBatch.java  |  4 ++--
 .../exec/physical/impl/trace/TestTraceOutputDump.java   |  4 ++--
 .../drill/exec/physical/impl/union/TestSimpleUnion.java |  4 ++--
 25 files changed, 62 insertions(+), 62 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/3e200034/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/pom.xml b/exec/java-exec/pom.xml
index c5b169d..2ffdae9 100644
--- a/exec/java-exec/pom.xml
+++ b/exec/java-exec/pom.xml
@@ -107,9 +107,9 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>com.yammer.metrics</groupId>
+      <groupId>com.codahale.metrics</groupId>
       <artifactId>metrics-core</artifactId>
-      <version>3.0.0-BETA1</version>
+      <version>3.0.1</version>
     </dependency>
     <dependency>
       <groupId>javax.inject</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/3e200034/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
index 7b4bc23..656d07f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
@@ -19,8 +19,8 @@ package org.apache.drill.exec.cache;
 
 import com.google.common.base.Preconditions;
 import com.google.common.collect.Lists;
-import com.yammer.metrics.MetricRegistry;
-import com.yammer.metrics.Timer;
+import com.codahale.metrics.MetricRegistry;
+import com.codahale.metrics.Timer;
 import io.netty.buffer.ByteBuf;
 import org.apache.drill.common.util.DataInputInputStream;
 import org.apache.drill.common.util.DataOutputOutputStream;

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/3e200034/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/DrillMetrics.java
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/DrillMetrics.java b/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/DrillMetrics.java
index 878c088..eef1181 100644
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/DrillMetrics.java
@@ -17,9 +17,9 @@
  */
 package org.apache.drill.exec.metrics;
 
-import com.yammer.metrics.JmxReporter;
-import com.yammer.metrics.MetricRegistry;
-import com.yammer.metrics.Slf4jReporter;
+import com.codahale.metrics.JmxReporter;
+import com.codahale.metrics.MetricRegistry;
+import com.codahale.metrics.Slf4jReporter;
 import org.apache.drill.common.config.DrillConfig;
 import org.apache.drill.exec.ExecConstants;
 import org.apache.drill.exec.client.DrillClient;
@@ -33,7 +33,7 @@ public class DrillMetrics {
   private DrillMetrics() {}
 
   private static class RegistryHolder {
-    public static final MetricRegistry REGISTRY = new MetricRegistry("Drill Metrics");
+    public static final MetricRegistry REGISTRY = new MetricRegistry();
     private static JmxReporter jmxReporter = getJmxReporter();
     private static Slf4jReporter logReporter = getLogReporter();
 

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/3e200034/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java b/exec/java-exec/src/main/java/org/apache/drill/exec