Repository: hadoop
Updated Branches:
  refs/heads/branch-2 dbd673d51 -> 2b4b85e06


HDFS-11517. Include missed change in previous commit.


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

Branch: refs/heads/branch-2
Commit: 2b4b85e06fd6e970c6fb73402cd10112d5356411
Parents: dbd673d
Author: Arpit Agarwal <a...@apache.org>
Authored: Fri Mar 17 16:12:53 2017 -0700
Committer: Arpit Agarwal <a...@apache.org>
Committed: Fri Mar 17 16:12:53 2017 -0700

----------------------------------------------------------------------
 .../hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2b4b85e0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
index 7e6c909..b6d5cf0 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/metrics/DataNodeDiskMetrics.java
@@ -187,6 +187,7 @@ public class DataNodeDiskMetrics {
    */
   @VisibleForTesting
   public void addSlowDiskForTesting(String slowDiskPath) {
-    diskOutliersStats.put(slowDiskPath, ImmutableMap.of());
+    diskOutliersStats.put(slowDiskPath,
+        ImmutableMap.<DiskOutlierDetectionOp, Double>of());
   }
 }


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

Reply via email to