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 in...@apache.org on 2019/02/20 22:21:44 UTC
[hadoop] 18/41: HDFS-14151. RBF: Make the read-only column of Mount
Table clearly understandable.
This is an automated email from the ASF dual-hosted git repository.
inigoiri pushed a commit to branch HDFS-13891
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 640fe0789f08afb6030c4c8940ae01a2599f22f3
Author: Takanobu Asanuma <ta...@apache.org>
AuthorDate: Tue Dec 18 19:47:36 2018 +0900
HDFS-14151. RBF: Make the read-only column of Mount Table clearly understandable.
---
.../hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html | 2 +-
.../hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js | 1 +
.../hadoop-hdfs-rbf/src/main/webapps/static/rbf.css | 8 +-------
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
index 068988c..0f089fe 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
@@ -408,7 +408,7 @@
<td>{nameserviceId}</td>
<td>{path}</td>
<td>{order}</td>
- <td class="mount-table-icon mount-table-read-only-{readonly}"/>
+ <td align="center" class="mount-table-icon mount-table-read-only-{readonly}" title="{status}"/>
<td>{ownerName}</td>
<td>{groupName}</td>
<td>{mode}</td>
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
index 6311a80..bb8e057 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
@@ -317,6 +317,7 @@
for (var i = 0, e = mountTable.length; i < e; ++i) {
if (mountTable[i].readonly == true) {
mountTable[i].readonly = "true"
+ mountTable[i].status = "Read only"
} else {
mountTable[i].readonly = "false"
}
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
index 43112af..5cdd826 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
@@ -132,12 +132,6 @@
}
.mount-table-read-only-true:before {
- color: #c7254e;
- content: "\e033";
-}
-
-.mount-table-read-only-false:before {
color: #5fa341;
- content: "\e013";
+ content: "\e033";
}
-
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org