storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richards Peter <hbkricha...@gmail.com>
Subject Is it possible to find out the active supervisor nodes through a program?
Date Tue, 07 Jan 2014 11:50:16 GMT
Hi,

I would like to know whether we can find out the list of active storm
supervisor nodes? I checked the following class:

https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/generated/Nimbus.java

It has a method -> getClusterInfo():ClusterSummary


ClusterSummary internally has another method -> get_supervisors
():List<SupervisorSummary>

https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/generated/SupervisorSummary.java

Will this be able to tell me the list of all active supervisors? I would
like to ignore the supervisors which are not active at the present. Is
there a better way to achieve the same?

Thanks,
Richards Peter.

Mime
View raw message