Bug 1010994

Summary: JON (3.2.0) server plugin, unreachable NaN cache statistics values, even after Get Live Value
Product: [JBoss] JBoss Data Grid 6 Reporter: Tomas Sykora <tsykora>
Component: JON PluginAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdg-bugs
Target Milestone: ER5   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1017654    
Bug Blocks: 1017190    

Description Tomas Sykora 2013-09-23 13:04:30 UTC
This bug is related to new JON 3.2.0 ER1 and JDG ER1.

It's not possible to see live cache and cache manager statistics in Monitoring tab for particular resource.

Cache manager statistics tab: "No items to show" 

For caches -- all values are marked as NaN, NaN ms or NaN % even though cache is UP more than 40 minutes.

Refreshing does not help. Get live value button does not help either.

I'm sure that we have entries in the cache and statistics are counted properly. I can see it via CLI console.

Statistics: {
  timeSinceReset: 2966
  stores: 7
  hitRatio: 1.0
  elapsedTime: 2966
  readWriteRatio: 1.2857142857142858
  removeHits: 0
  misses: 0
  statisticsEnabled: true
  averageReadTime: 0
  evictions: 0
  numberOfEntries: 7
  averageWriteTime: 0
  averageRemoveTime: 0
  removeMisses: 0
  hits: 9
}

Comment 2 Tomas Sykora 2013-10-07 13:09:54 UTC
A note:

This was tested using rhq-jboss-as-7-plugin-4.4.0.JON312GA.jar because we wanted to test JON 3.2.x but if we are using rhq-jboss-as-7-plugin-4.9.0.JON320ER2.jar with JON 3.2.x and latest jdg server plugin (6.2 ER2) we can't even see at Infinispan resource detected. 

On the other hand, while using rhq-jboss-as-7-plugin-4.4.0.JON312GA.jar we can see 2 Infinispan resources there. (One real, one fake)

This probably deserves another bug...

Comment 3 Tomas Sykora 2013-10-10 09:43:30 UTC
Renamed for better overview and tracking

Comment 4 Tomas Sykora 2013-11-04 09:40:38 UTC
This doesn't need release note for 6.2.BETA release.

Comment 5 JBoss JIRA Server 2013-11-19 18:51:50 UTC
William Burns <wburns> updated the status of jira ISPN-3612 to Coding In Progress

Comment 6 JBoss JIRA Server 2013-11-20 14:29:45 UTC
William Burns <wburns> made a comment on jira ISPN-3612

This was removed with ISPN-3157.  I need to investigate further why.

Comment 7 Tomas Sykora 2013-12-12 16:02:17 UTC
Verification blocked by:

https://bugzilla.redhat.com/show_bug.cgi?id=1041404

Comment 8 Tomas Sykora 2013-12-14 12:08:19 UTC
After long... long time, I can see changing statistics there finally!
Brilliant fix, thank you!

VERIFIED with ER6.