Details
Description
/jmx servlet responses invalid JSON, if some metrics are NaN:
"l1CacheHitCount" : 0, "l1CacheMissCount" : 0, "l1CacheHitRatio" : NaN, "l1CacheMissRatio" : NaN, "l2CacheHitCount" : 0, "l2CacheMissCount" : 0, "l2CacheHitRatio" : 0.0, "l2CacheMissRatio" : 0.0,
NaN is an invalid character sequence in JSON. We should not response NaN in metrics.
Attachments
Attachments
Issue Links
- is required by
-
HBASE-24657 JsonBean representation of metrics at /jmx endpoint now quotes all numbers
- Closed
- links to