Description
Add per-datanode counts to the datanode jmx page. For example, networkErrors could be exposed like this:
}, { ... "DatanodeNetworkCounts" : "{\"dn1\":{\"networkErrors\":1}}", ... "NamenodeAddresses" : "{\"localhost\":\"BP-1103235125-127.0.0.1-1415057084497\"}", "VolumeInfo" : "{\"/tmp/hadoop-cwl/dfs/data/current\":{\"freeSpace\":3092725760,\"usedSpace\":28672,\"reservedSpace\":0}}", "ClusterId" : "CID-4b38f2ae-5e58-4e15-b3cf-3ba3f46e724e" }, {