hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whe...@apache.org
Subject hadoop git commit: HDFS-9193. Fix incorrect references the usages of the DN in dfshealth.js. Contributed by Chang Li.
Date Sat, 03 Oct 2015 18:46:04 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 1257483eb -> 460b5db9f


HDFS-9193. Fix incorrect references the usages of the DN in dfshealth.js. Contributed by Chang
Li.


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

Branch: refs/heads/branch-2
Commit: 460b5db9ffc00cf2455e59fbfe88621ee94c7f4b
Parents: 1257483
Author: Haohui Mai <wheat9@apache.org>
Authored: Sat Oct 3 11:44:34 2015 -0700
Committer: Haohui Mai <wheat9@apache.org>
Committed: Sat Oct 3 11:44:40 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js                | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/460b5db9/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index b8fb71e..68baf11 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1139,6 +1139,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled.
     (Catherine Palmer via jghoman)
 
+    HDFS-9193. Fix incorrect references the usages of the DN in dfshealth.js.
+    (Chang Li via wheat9)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/460b5db9/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
index cc3afcd..e7245df 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
@@ -186,7 +186,7 @@
         var r = null;
         if (v < 70) {
           r = 'progress-bar-success';
-        } else if (u.usedPercentage < 85) {
+        } else if (v < 85) {
           r = 'progress-bar-warning';
         } else {
           r = "progress-bar-danger";


Mime
View raw message