[
https://issues.apache.org/jira/browse/KARAF-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271230#comment-13271230
]
Jean-Baptiste Onofré commented on KARAF-1413:
---------------------------------------------
If you take a look on the command help:
karaf@root> cluster:handler-status --help
DESCRIPTION
cluster:handler-status
Status of an event handler.
SYNTAX
cluster:handler-status [options] [handler] [node]
ARGUMENTS
handler
The event handler ID.
node
The node(s) ID.
OPTIONS
--help
Display this help message
you can see that handler is required when you use node, else the command will
consider xlding:5701 as a handler name (and not as a node).
> Parameters hander and node of 'cluster:handler-status' can not work
> -------------------------------------------------------------------
>
> Key: KARAF-1413
> URL: https://issues.apache.org/jira/browse/KARAF-1413
> Project: Karaf
> Issue Type: Bug
> Components: cellar-core
> Affects Versions: cellar-2.2.4
> Environment: Karaf-2.2.7-SNAPSHOT from 20120426
> Reporter: Xiaoli Ding
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> - Start three Karaf and install cellar for them
> - there are three nodes in default group:node1,node2 and node3
> - excute 'cluster:handler-status' without parameters,output are as expect
> {panel}
> karaf@trun> cluster:handler-status
> Node Status Event Handler
> xlding:5701 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5701 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5703 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5702 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> {panel}
> - excute 'cluster:handler-status' with only handler paramter
> {panel}
> karaf@trun> cluster:handler-status
> org.apache.karaf.cellar.features.FeaturesEventHandler
> No result received within given timeout
> {panel}
> but can not output result,should output info of appointed handler for all
> nodes
> - excute 'cluster:handler-status' with handler and node paramters
> {panel}
> karaf@trun> cluster:handler-status
> org.apache.karaf.cellar.features.FeaturesEventHandler xlding:5701
> No result received within given timeout
> {panel}
> still can not output result,should output info of the appointed handler and
> node
> - excute 'cluster:handler-status' with only node paramter
> {panel}
> karaf@trun> cluster:handler-status xlding:5701
> Node Status Event Handler
> xlding:5701 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5701 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5701 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5703 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5703 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.config.ConfigurationEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
> xlding:5702 ON org.apache.karaf.cellar.bundle.BundleEventHandler
> xlding:5702 ON
> org.apache.karaf.cellar.features.FeaturesEventHandler
> {panel}
> often output the info for all node,it is also not expect,should output
> handler info for the appointed node
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira