Reroute has no effect?

I am attempting to move a shard from one node to another with the following
command

curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
"commands" : [
{"move" : {"index" : "segments_index_25", "shard" : 2, "from_node"
: "ZFjxfFmTT96tGO_AgMl5FA", "to_node" : "ijc_elPKTPyp97dY6AfLEQ"}}
]
}'

It appears to start the process and I receive an "OK" after the submission,
it is indicated on elasticsearch-head that it is moving. but the shard
never ends up on the destination node and the shard returns back to green
and normal on the first node. I see nothing in the log files to indicate
an error, so I am wondring if i am missing something.

I am wanting to move this shard to a larger more powerful box.

Any thoughts?

i'm running 0.20.5

Thanks

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Usually if it is going to move , it shows violet colour in head for that
shard.
Do you see it.
Also please elaborate on the problem. What exactly are you trying to
achieve.

Thanks
Vineeth

On Thu, Mar 28, 2013 at 11:20 PM, Todd Gruben tgruben@gmail.com wrote:

I am attempting to move a shard from one node to another with the
following command

curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
"commands" : [
{"move" : {"index" : "segments_index_25", "shard" : 2, "from_node"
: "ZFjxfFmTT96tGO_AgMl5FA", "to_node" : "ijc_elPKTPyp97dY6AfLEQ"}}
]
}'

It appears to start the process and I receive an "OK" after the
submission, it is indicated on elasticsearch-head that it is moving. but
the shard never ends up on the destination node and the shard returns back
to green and normal on the first node. I see nothing in the log files to
indicate an error, so I am wondring if i am missing something.

I am wanting to move this shard to a larger more powerful box.

Any thoughts?

i'm running 0.20.5

Thanks

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

It appears to start the process and I receive an "OK" after the
submission, it is indicated on elasticsearch-head that it is moving.
but the shard never ends up on the destination node and the shard
returns back to green and normal on the first node. I see nothing in
the log files to indicate an error, so I am wondring if i am missing
something.

It may be that your move is causing an unbalanced cluster, so ES fixes
it by rebalancing (which might cancel your request).

It may make more sense in your case to use rack awareness to allocate
that index with the more powerful box.

Read the section on "Shard allocation awareness" here:

clint

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I does show violet for a small period of time. I am thinking that for some
reason I must "move" another shard off that server, in essence swap the big
shard for the small.

On Friday, March 29, 2013 6:12:57 AM UTC-5, Vineeth Mohan wrote:

Usually if it is going to move , it shows violet colour in head for that
shard.
Do you see it.
Also please elaborate on the problem. What exactly are you trying to
achieve.

Thanks
Vineeth

On Thu, Mar 28, 2013 at 11:20 PM, Todd Gruben <tgr...@gmail.com<javascript:>

wrote:

I am attempting to move a shard from one node to another with the
following command

curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
"commands" : [
{"move" : {"index" : "segments_index_25", "shard" : 2,
"from_node" : "ZFjxfFmTT96tGO_AgMl5FA", "to_node" :
"ijc_elPKTPyp97dY6AfLEQ"}}
]
}'

It appears to start the process and I receive an "OK" after the
submission, it is indicated on elasticsearch-head that it is moving. but
the shard never ends up on the destination node and the shard returns back
to green and normal on the first node. I see nothing in the log files to
indicate an error, so I am wondring if i am missing something.

I am wanting to move this shard to a larger more powerful box.

Any thoughts?

i'm running 0.20.5

Thanks

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.