[ https://issues.apache.org/jira/browse/HBASE-20571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478863#comment-16478863 ]
Hudson commented on HBASE-20571: -------------------------------- Results for branch branch-1 [build #318 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/318/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (x) {color:red}-1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/318//General_Nightly_Build_Report/] (x) {color:red}-1 jdk7 checks{color} -- For more information [see jdk7 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/318//JDK7_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/318//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 source release artifact{color} -- See build output for details. > JMXJsonServlet generates invalid JSON if it has NaN in metrics > -------------------------------------------------------------- > > Key: HBASE-20571 > URL: https://issues.apache.org/jira/browse/HBASE-20571 > Project: HBase > Issue Type: Bug > Components: UI > Reporter: Balazs Meszaros > Assignee: Balazs Meszaros > Priority: Major > Fix For: 3.0.0, 2.1.0, 1.5.0, 1.3.3, 2.0.1, 1.4.5 > > Attachments: HBASE-20571.branch-1.003.patch, > HBASE-20571.branch-1.004.patch, HBASE-20571.branch-2.0.001.patch, > HBASE-20571.branch-2.0.002.patch, HBASE-20571.branch-2.0.002.patch, > HBASE-20571.branch-2.0.003.patch > > > {{/jmx}} servlet responses invalid JSON, if some metrics are NaN: > {code} > "l1CacheHitCount" : 0, > "l1CacheMissCount" : 0, > "l1CacheHitRatio" : NaN, > "l1CacheMissRatio" : NaN, > "l2CacheHitCount" : 0, > "l2CacheMissCount" : 0, > "l2CacheHitRatio" : 0.0, > "l2CacheMissRatio" : 0.0, > {code} > NaN is an invalid character sequence in JSON. We should not response NaN in > metrics. -- This message was sent by Atlassian JIRA (v7.6.3#76005)