HDFS-5929. Merge 1567411 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1567413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5bc592d88d
commit
989f41078f
|
@ -27,6 +27,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-4370. Fix typo Blanacer in DataNode. (Chu Tong via shv)
|
HDFS-4370. Fix typo Blanacer in DataNode. (Chu Tong via shv)
|
||||||
|
|
||||||
|
HDFS-5929. Add blockpool % usage to HDFS federated nn page.
|
||||||
|
(Siqi Li via suresh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
||||||
|
|
|
@ -587,6 +587,8 @@ class ClusterJspHelper {
|
||||||
toXmlItemBlockWithLink(doc, nn.host, nn.httpAddress, "NameNode");
|
toXmlItemBlockWithLink(doc, nn.host, nn.httpAddress, "NameNode");
|
||||||
toXmlItemBlock(doc, "Blockpool Used",
|
toXmlItemBlock(doc, "Blockpool Used",
|
||||||
StringUtils.byteDesc(nn.bpUsed));
|
StringUtils.byteDesc(nn.bpUsed));
|
||||||
|
toXmlItemBlock(doc, "Blockpool Used%",
|
||||||
|
DFSUtil.percent2String(DFSUtil.getPercentUsed(nn.bpUsed, total)));
|
||||||
toXmlItemBlock(doc, "Files And Directories",
|
toXmlItemBlock(doc, "Files And Directories",
|
||||||
Long.toString(nn.filesAndDirectories));
|
Long.toString(nn.filesAndDirectories));
|
||||||
toXmlItemBlock(doc, "Blocks", Long.toString(nn.blocksCount));
|
toXmlItemBlock(doc, "Blocks", Long.toString(nn.blocksCount));
|
||||||
|
|
Loading…
Reference in New Issue