hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject hadoop git commit: YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)
Date Sat, 08 Apr 2017 00:36:47 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ff2870310 -> dcfce5fcd


YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)

(cherry picked from commit 2aa8967809b05e558b36ab6fc8c5110ddb723b45)


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

Branch: refs/heads/branch-2
Commit: dcfce5fcddcfdd23392586c87adf7c14e8ef265e
Parents: ff28703
Author: Karthik Kambatla <kasha@cloudera.com>
Authored: Fri Apr 7 17:31:50 2017 -0700
Committer: Karthik Kambatla <kasha@cloudera.com>
Committed: Fri Apr 7 17:36:39 2017 -0700

----------------------------------------------------------------------
 .../server/resourcemanager/scheduler/fair/FSOpDurations.java | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/dcfce5fc/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java
index 20d2af9..6676baf 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java
@@ -53,9 +53,6 @@ public class FSOpDurations implements MetricsSource {
   @Metric("Duration for an update call")
   MutableRate updateCall;
 
-  @Metric("Duration for a preempt call")
-  MutableRate preemptCall;
-
   private static final MetricsInfo RECORD_INFO =
       info("FSOpDurations", "Durations of FairScheduler calls or thread-runs");
 
@@ -88,7 +85,6 @@ public class FSOpDurations implements MetricsSource {
     nodeUpdateCall.setExtended(isExtended);
     updateThreadRun.setExtended(isExtended);
     updateCall.setExtended(isExtended);
-    preemptCall.setExtended(isExtended);
 
     INSTANCE.isExtended = isExtended;
   }
@@ -114,10 +110,6 @@ public class FSOpDurations implements MetricsSource {
     updateCall.add(value);
   }
 
-  public void addPreemptCallDuration(long value) {
-    preemptCall.add(value);
-  }
-
   @VisibleForTesting
   public boolean hasUpdateThreadRunChanged() {
     return updateThreadRun.changed();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message