Skip to content

Loading…

Restart API: Allow to restart one or more nodes #155

Closed
kimchy opened this Issue · 4 comments

4 participants

@kimchy
elastic member

The REST API follows the same rules as the shutdown API, simply replace shutdown with restart: /_cluster/nodes/{nodeId}/_restart, where {nodeId} can be a list of node ids, _all, or _local.

With the new service wrapper, if a restart is requested and the process is running using the service wrapper, a full restart of the JVM will be issued.

@kimchy
elastic member

Restart API: Allow to restart one or more nodes, closed by ebded19.

@KimStebel

This feature does not seem to be documented anywhere.

@dadoonet
elastic member

@kimchy I tried the _restart API but without using a service wrapper and I get the following message:

$ curl -XPOST 'http://localhost:9200/_cluster/nodes/_local/_restart'
{"error":"ElasticSearchIllegalStateException[restart is disabled (for now) ....]","status":500}

Does it mean that we can only use it with the service wrapper?
I'm on the way of creating the pull request to update the documentation so I need to understand if it's a windows restriction, a configuration restriction (but I can't see an option in the elasticsearch.yml file, or something else...

Thanks for your help

cc @KimStebel

@javanna javanna pushed a commit to javanna/elasticsearch that referenced this issue
@karmi karmi Removed the API definition for `_cluster/nodes/_restart`
The API is not supported anymore.

Info: <elastic#155>
50675df
@brusic brusic added a commit to brusic/elasticsearch that referenced this issue
@karmi karmi Removed the API definition for `_cluster/nodes/_restart`
The API is not supported anymore.

Info: <elastic#155>
ee93a38
@dadoonet dadoonet added a commit that referenced this issue
@dadoonet dadoonet Add EC2/S3 Signer API setting
If you are using a compatible EC2 or S3 service, they might be using an older API to sign the requests.

You can set your compatible signer API using `cloud.aws.signer` (or `cloud.aws.ec2.signer` and `cloud.aws.s3.signer`) with the right signer to use.

Defaults to `AWS4SignerType`.

Supported today (time when this commit is done):

* `QueryStringSignerType`
* `AWS3SignerType`
* `AWS4SignerType`
* `NoOpSignerType`

Closes #155.
(cherry picked from commit 33b18b4)
(cherry picked from commit 9809af5)
3977694
@rmuir rmuir pushed a commit to rmuir/elasticsearch that referenced this issue
@bjorn-ali-goransson bjorn-ali-goransson Improved introduction, added hello world
New paragraph

Some abbreviation to 1st paragraph

More concise phrasing

Rename heading

Remove repeated "Now," from Hello World

Person is also a document

Rephrasing of last paragraph in Hello, World

Move installation to being above Hello, world

Accidentally left out moving code backticks. Fixed

Closes #155
88ca607
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.