Bug 1181252 - CLI/monitoring -- server started standalone.xml does not report statistics
Summary: CLI/monitoring -- server started standalone.xml does not report statistics
Keywords:
Status: CLOSED DUPLICATE of bug 1276035
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Server
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 6.6.0
Assignee: Vladimir Blagojevic
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1277442
TreeView+ depends on / blocked
 
Reported: 2015-01-12 17:20 UTC by Tomas Sykora
Modified: 2015-11-03 10:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-30 14:30:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5144 0 Major Resolved CLI/monitoring -- server started standalone.xml does not report statistics 2016-01-22 14:16:23 UTC

Description Tomas Sykora 2015-01-12 17:20:42 UTC
Originally, I though that this is caused by one of the other present bugs. Now I had a chance to look even closer and found this issue:

When we start server using standalone.xml config, we are not able to monitor statistics properly. They 'disappeared'. Checked using CLI. 

This issue is not present while running with clustered.xml.

See the difference in CLI output below: 

WRONG standalone.xml local cache:

[standalone@localhost:9999 local-cache=default] ls
backup                         leveldb-store                  store                          module=undefined               
binary-keyed-jdbc-store        loader                         string-keyed-jdbc-store        remote-cache=undefined         
cluster-loader                 locking                        transaction                    remote-site=undefined          
compatibility                  mixed-keyed-jdbc-store         batching=undefined             start=EAGER                    
eviction                       remote-store                   indexing=undefined             statistics=true                
expiration                     rest-store                     indexing-properties=undefined  
file-store                     security                       jndi-name=undefined 

GOOD clustered.xml distributed cache: 

[standalone@localhost:9999 cache-container=clustered] cd distributed-cache=default
[standalone@localhost:9999 distributed-cache=default] ls
backup                          activations=0                   hits=0                          remote-cache=undefined          
binary-keyed-jdbc-store         async-marshalling=undefined     indexing=undefined              remote-site=undefined           
cluster-loader                  average-read-time=0             indexing-properties=undefined   remote-timeout=30000            
compatibility                   average-remove-time=0           invalidations=0                 remove-hits=0                   
eviction                        average-replication-time=0      jndi-name=undefined             remove-misses=0                 
expiration                      average-write-time=0            l1-lifespan=0                   replication-count=0             
file-store                      batching=undefined              misses=0                        replication-failures=0          
leveldb-store                   cache-availability=AVAILABLE    mode=SYNC                       rollbacks=0                     
loader                          cache-loader-loads=0            module=undefined                segments=20                     
locking                         cache-loader-misses=0           number-of-entries=0             start=EAGER                     
mixed-keyed-jdbc-store          cache-loader-stores=0           number-of-locks-available=0     statistics=undefined            
partition-handling              cache-name=default              number-of-locks-held=0          stores=0                        
remote-store                    cache-status=RUNNING            owners=2                        success-ratio=0.0               
rest-store                      capacity-factor=1.0             passivations=0                  time-since-reset=11             
security                        commits=0                       prepares=0                      version=6.2.0.Final-redhat-1    
state-transfer                  concurrency-level=1000          queue-flush-interval=undefined  virtual-nodes=1                 
store                           elapsed-time=11                 queue-size=undefined            
string-keyed-jdbc-store         evictions=0                     read-write-ratio=0.0            
transaction                     hit-ratio=0.0                   rebalancing=true

Comment 2 Tomas Sykora 2015-01-12 17:32:03 UTC
Setting target release to 6.4.0 CR2 to make it more visible. 

Need info: Martin please, can you evaluate severity and priority?

The thing is that standalone.xml started server does not provide cache-level statistics (cache manager stats are OK) and can't be monitored properly in JON. 

This was hard to spot because the majority of servers in our (JON) test deployment is started using clustered.xml and that one standalone.xml server had problems because other bugs -- it was hidden and tricky one.

Comment 3 Martin Gencur 2015-01-13 10:25:10 UTC
Tomas, does it happen also in library mode or is it just client-server? If that only affect client-server mode then it's not a big problem.

Comment 4 Tomas Sykora 2015-01-13 10:32:21 UTC
Confirming that this is _SERVER_ (started via standalone*.sh scripts) related problem. 

Caches running in InVM which are monitored as JMX servers reports their statistics smoothly. 

Thanks for input. 
Changing priority and severity to MEDIUM.

Comment 6 Martin Gencur 2015-01-14 14:58:14 UTC
This is not necessary to have in CR2. Unsetting the target.

Comment 7 JBoss JIRA Server 2015-10-30 14:21:14 UTC
Tristan Tarrant <ttarrant> updated the status of jira ISPN-5144 to Resolved

Comment 8 Alan Field 2015-10-30 14:30:43 UTC

*** This bug has been marked as a duplicate of bug 1276035 ***


Note You need to log in before you can comment on or make changes to this bug.