Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.5.1
-
None
-
None
Description
Currently many JMX beans provide Json content as strings.
JMXJsonServlet outputs these as Json Strings. This also results in losing the original Json object structure.
An example is given below:
"TieredStorageStats" : "{\"ARCHIVE\":{\"capacityTotal\":1498254102528,\"capacityUsed\":12288,\"capacityRemaining\":980102602752,\"blockPoolUsed\":12288,\"nodesInService\":3,\"numBlocks\":0}...
"TieredStorageStats" : {"ARCHIVE":{"capacityTotal":1498254102528,"capacityUsed":12288,"capacityRemaining":980102602752,"blockPoolUsed":12288,"nodesInService":3,"numBlocks":0}...
In the former output TieredStorageStats maps to a JSON string while in the latter one it maps to a JSON object.
Attachments
Attachments
Issue Links
- is required by
-
HDFS-7390 Provide JMX metrics per storage type
- Resolved