You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by wh...@apache.org on 2015/10/03 20:46:04 UTC
hadoop git commit: HDFS-9193. Fix incorrect references the usages of
the DN in dfshealth.js. Contributed by Chang Li.
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 <wh...@apache.org>
Authored: Sat Oct 3 11:44:34 2015 -0700
Committer: Haohui Mai <wh...@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";