HDFS-14919. Provide Non DFS Used per DataNode in DataNode UI. Contributed by Lisheng Sun.
This commit is contained in:
parent
6ce5f8734f
commit
654db35fa2
|
@ -329,6 +329,8 @@
|
||||||
<th>Http Address</th>
|
<th>Http Address</th>
|
||||||
<th>Last contact</th>
|
<th>Last contact</th>
|
||||||
<th>Last Block Report</th>
|
<th>Last Block Report</th>
|
||||||
|
<th>Used</th>
|
||||||
|
<th>Non DFS Used</th>
|
||||||
<th style="width:180px; text-align:center">Capacity</th>
|
<th style="width:180px; text-align:center">Capacity</th>
|
||||||
<th>Blocks</th>
|
<th>Blocks</th>
|
||||||
<th>Block pool used</th>
|
<th>Block pool used</th>
|
||||||
|
@ -342,6 +344,8 @@
|
||||||
<td ng-value="{state}-{name}"><a href='{dnWebAddress}'>{dnWebAddress}</a></td>
|
<td ng-value="{state}-{name}"><a href='{dnWebAddress}'>{dnWebAddress}</a></td>
|
||||||
<td ng-value="{lastContact}">{lastContact}s</td>
|
<td ng-value="{lastContact}">{lastContact}s</td>
|
||||||
<td ng-value="{lastBlockReport}">{lastBlockReport}m</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}">
|
<td ng-value="{usedPercentage}">
|
||||||
<div>
|
<div>
|
||||||
<div style="display:inline-block; float: left; padding-right: 10px; width:80px">{capacity|fmt_bytes}</div>
|
<div style="display:inline-block; float: left; padding-right: 10px; width:80px">{capacity|fmt_bytes}</div>
|
||||||
|
|
|
@ -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},
|
{ '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},
|
{ 'type': 'num' , "defaultContent": 0},
|
||||||
{ 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0},
|
{ 'orderDataType': 'ng-value', 'type': 'num' , "defaultContent": 0},
|
||||||
{ 'type': 'string' , "defaultContent": ""}
|
{ 'type': 'string' , "defaultContent": ""}
|
||||||
|
|
Loading…
Reference in New Issue