Node restart?

Does nodes restart action work? It is not documented, and whenever I try to
use it I get:

{
"error" : "ElasticSearchIllegalStateException[restart is disabled (for
now) ....]",
"status" : 500
}

Which indicates a failure, but there is nothing else in the logs which
indicates any issues.

The disabled property is set to false by default. Trying to come up with a
more graceful way for non-technical users to restart servers.

--
Ivan

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAXGEFJCWaHnp48Ti-ccDcHw2XgCrrdi5CccNxKRJ_50g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

To answer my own question, it is in fact disabled:

--
Ivan

On Wed, May 7, 2014 at 5:18 PM, Ivan Brusic ivan@brusic.com wrote:

Does nodes restart action work? It is not documented, and whenever I try
to use it I get:

{
"error" : "ElasticSearchIllegalStateException[restart is disabled (for
now) ....]",
"status" : 500
}

Which indicates a failure, but there is nothing else in the logs which
indicates any issues.

https://github.com/elasticsearch/elasticsearch/blob/1.0/src/main/java/org/elasticsearch/action/admin/cluster/node/restart/TransportNodesRestartAction.java#L68

The disabled property is set to false by default. Trying to come up with a
more graceful way for non-technical users to restart servers.

--
Ivan

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmJZff_v0JGLoq1xCUWE10RHVqgLYtCw9MB7E3bowFig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.