hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [17/50] hadoop git commit: YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)
Date Wed, 12 Apr 2017 23:42:04 GMT
YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)


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

Branch: refs/heads/HDFS-7240
Commit: 2aa8967809b05e558b36ab6fc8c5110ddb723b45
Parents: e8bdad7
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:31:59 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2aa89678/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 f6d843a..c841ca7 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
@@ -50,9 +50,6 @@ public class FSOpDurations implements MetricsSource {
   @Metric("Duration for a update thread run")
   MutableRate updateThreadRun;
 
-  @Metric("Duration for a preempt call")
-  MutableRate preemptCall;
-
   private static final MetricsInfo RECORD_INFO =
       info("FSOpDurations", "Durations of FairScheduler calls or thread-runs");
 
@@ -84,7 +81,6 @@ public class FSOpDurations implements MetricsSource {
     continuousSchedulingRun.setExtended(isExtended);
     nodeUpdateCall.setExtended(isExtended);
     updateThreadRun.setExtended(isExtended);
-    preemptCall.setExtended(isExtended);
 
     INSTANCE.isExtended = isExtended;
   }
@@ -106,10 +102,6 @@ public class FSOpDurations implements MetricsSource {
     updateThreadRun.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