Browse Source

HDFS-17122. Rectify the table length discrepancy in the DataNode UI (#5915)

zhtttylz 1 year ago
parent
commit
600dd45e47

+ 1 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js

@@ -378,6 +378,7 @@
                 });
             }
           });
+          $("#table-datanodes").width('100%');
           renderHistogram(data);
           $('#ui-tabs a[href="#tab-datanode"]').tab('show');
         });