# Node restart?

**URL:** <https://discuss.elastic.co/t/node-restart/17403>\
**Category:** Elasticsearch\
**Created:** [May 8, 2014, 12:18am UTC](https://discuss.elastic.co/t/node-restart/17403 "2014-05-08T00:18:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 8, 2014, 12:18am UTC](https://discuss.elastic.co/t/node-restart/17403/1 "2014-05-08T00:18:36Z")

</div>

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/elastic/elasticsearch/blob/1.0/src/main/java/org/elasticsearch/action/admin/cluster/node/restart/TransportNodesRestartAction.java>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAXGEFJCWaHnp48Ti-ccDcHw2XgCrrdi5CccNxKRJ_50g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 8, 2014, 4:54pm UTC](https://discuss.elastic.co/t/node-restart/17403/2 "2014-05-08T16:54:48Z")

</div>

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

> <https://github.com/elastic/elasticsearch/issues/265>
>
> Hiya
> 
> I started two nodes with \`./bin/elasticsearch\` and once settled, issued a:…
> 
> \`\`\`
> curl -XPOST 'http://127.0.0.1:9200/\_cluster/nodes/\_restart'
> \`\`\`
> 
> The nodes restart, but no node is made master, so they are essentially zombies. See the logs here:
> http://gist.github.com/479454

--  
Ivan

On Wed, May 7, 2014 at 5:18 PM, Ivan Brusic [ivan@brusic.com](mailto: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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmJZff_v0JGLoq1xCUWE10RHVqgLYtCw9MB7E3bowFig%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:30am UTC](https://discuss.elastic.co/t/node-restart/17403/3 "2017-07-06T01:30:45Z")

</div>

Closed on July 6, 2017, 1:30am UTC


