[
https://issues.apache.org/jira/browse/KARAF-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaoli Ding updated KARAF-1413:
-------------------------------
Description:
- 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
was:
- 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 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 appointed handler and node
- excute 'cluster:handler-status' with 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 out put the info for all node,it is also not expect,should output handler
info for the appointed 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-shell
> Environment: Karaf-2.2.7-SNAPSHOT from 20120426
> Reporter: Xiaoli Ding
> Priority: Minor
>
> - 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