Assumptions after nodes shutdown request?


(Samuel Doyle) #1

Hi,

Can I assume that the cluster is shutdown promptly after sending a nodes
shutdown request through the Java API such as
client.admin().cluster().nodesShutdown(new
NodesShutdownRequest()).actionGet()
if there is no exception thrown?

There is nothing really in the response to indicate if there was a problem,
is there something I should do to follow this up?

Thanks


(Shay Banon) #2

It can't really point if there was a problem or not, since part of the
shutdown is closing down the communication stream to the outside world...

-shay.banon

On Wed, Jul 21, 2010 at 3:33 AM, Samuel Doyle samueldoyle@gmail.com wrote:

Hi,

Can I assume that the cluster is shutdown promptly after sending a nodes
shutdown request through the Java API such as
client.admin().cluster().nodesShutdown(new
NodesShutdownRequest()).actionGet()
if there is no exception thrown?

There is nothing really in the response to indicate if there was a problem,
is there something I should do to follow this up?

Thanks


(system) #3