Repository: hadoop Updated Branches: refs/heads/branch-3.1 9f3be797b -> cb260a2d3
HDFS-12781. After Datanode down, In Namenode UI Datanode tab is throwing warning message.. Contributed by Brahma Reddy Battula. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cb260a2d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cb260a2d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cb260a2d Branch: refs/heads/branch-3.1 Commit: cb260a2d34f993419e9616aa34481c32aa5ac6be Parents: 9f3be79 Author: Arpit Agarwal <[email protected]> Authored: Sat Feb 24 14:52:35 2018 -0800 Committer: Arpit Agarwal <[email protected]> Committed: Sat Feb 24 14:52:44 2018 -0800 ---------------------------------------------------------------------- .../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/cb260a2d/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 4bc8e86..f672f1b 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 @@ -331,14 +331,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]
