Repository: hadoop Updated Branches: refs/heads/branch-3.0 dc02823d2 -> 26b08e002
HDFS-12781. After Datanode down, In Namenode UI Datanode tab is throwing warning message.. Contributed by Brahma Reddy Battula. (cherry picked from commit 46c93453e9eb66f91b677777e011abc96113f9b0) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/26b08e00 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/26b08e00 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/26b08e00 Branch: refs/heads/branch-3.0 Commit: 26b08e002f72702e42e1b6ad298d758a3319d79d Parents: dc02823 Author: Arpit Agarwal <[email protected]> Authored: Sat Feb 24 14:52:35 2018 -0800 Committer: Akira Ajisaka <[email protected]> Committed: Fri Mar 23 18:12:48 2018 +0900 ---------------------------------------------------------------------- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/26b08e00/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 de62622..9ef0adb 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 @@ -329,14 +329,14 @@ $('#table-datanodes').dataTable( { 'lengthMenu': [ [25, 50, 100, -1], [25, 50, 100, "All"] ], 'columns': [ - { 'orderDataType': 'ng-value', 'searchable': true }, - { 'orderDataType': 'ng-value', 'searchable': true }, - { 'orderDataType': 'ng-value', 'type': 'num' }, - { 'orderDataType': 'ng-value', 'type': 'num' }, - { 'orderDataType': 'ng-value', 'type': 'num' }, - { 'type': 'num' }, - { 'orderDataType': 'ng-value', 'type': 'num'}, - { 'type': 'string' } + { 'orderDataType': 'ng-value', 'searchable': true , "defaultContent": "" }, + { 'orderDataType': 'ng-value', 'searchable': true , "defaultContent": ""}, + { '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": ""} ]}); renderHistogram(data); $('#ui-tabs a[href="#tab-datanode"]').tab('show'); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
