This is an automated email from the ASF dual-hosted git repository. ayushsaxena pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new 654db35f HDFS-14919. Provide Non DFS Used per DataNode in DataNode UI. Contributed by Lisheng Sun. 654db35f is described below commit 654db35fa2a2bfabd8f844e9ca10ad8bfea859cf Author: Ayush Saxena <ayushsax...@apache.org> AuthorDate: Wed Mar 18 20:55:34 2020 +0530 HDFS-14919. Provide Non DFS Used per DataNode in DataNode UI. Contributed by Lisheng Sun. --- hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 4 ++++ hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html index 5053696..582420e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html @@ -329,6 +329,8 @@ <th>Http Address</th> <th>Last contact</th> <th>Last Block Report</th> + <th>Used</th> + <th>Non DFS Used</th> <th style="width:180px; text-align:center">Capacity</th> <th>Blocks</th> <th>Block pool used</th> @@ -342,6 +344,8 @@ <td ng-value="{state}-{name}"><a href='{dnWebAddress}'>{dnWebAddress}</a></td> <td ng-value="{lastContact}">{lastContact}s</td> <td ng-value="{lastBlockReport}">{lastBlockReport}m</td> + <td ng-value="{used}">{used|fmt_bytes}</td> + <td ng-value="{nonDfsUsedSpace}">{nonDfsUsedSpace|fmt_bytes}</td> <td ng-value="{usedPercentage}"> <div> <div style="display:inline-block; float: left; padding-right: 10px; width:80px">{capacity|fmt_bytes}</div> 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 0d9de3e..9715c37 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 @@ -356,6 +356,8 @@ { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, + { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, + { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, { 'type': 'num' , "defaultContent": 0}, { 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0}, { 'type': 'string' , "defaultContent": ""} --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org