Unassigned nodes giving the cluster red

Hi ,

we had some network glitch .then we had rebounced all the four nodes
.after rebouncing we are getting the cluster status red and seeing some
shards are unassiged.

Could you guys please help what we need to do with those unassigned
shards.to get the data back

i had tried cluster rerouting
{
"commands":[{"allocate": {"index":"indexname",
"shard":2,"node":"Dionysus", "allow_primary" : true}}]
}

but gettign this excepition

{
"error":
"RemoteTransportException[[Autolycus][inet[/64.102.209.58:9300]][cluster/reroute]];
nested: ElasticSearchIllegalArgumentException[[allocate] allocation of
[cqindex][2] on node [Dionysus][T08BTnRcQ162tynpYjCpzQ][inet[ ]] is not
allowed, reason: [YES()][NO()][YES()][YES()][YES()][YES()][YES()][YES()]];
",
"status": 400
}

--
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/5784cef8-62ae-4876-95d6-cda50882c1c5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

do you used some forced allocation awareness for some indices or the
cluster, which might lead to this?

--Alex

On Thu, Feb 20, 2014 at 10:12 PM, kondapallinaresh@gmail.com wrote:

Hi ,

we had some network glitch .then we had rebounced all the four nodes
.after rebouncing we are getting the cluster status red and seeing some
shards are unassiged.

Could you guys please help what we need to do with those unassigned
shards.to get the data back

i had tried cluster rerouting
{
"commands":[{"allocate": {"index":"indexname",
"shard":2,"node":"Dionysus", "allow_primary" : true}}]
}

but gettign this excepition

{
"error": "RemoteTransportException[[Autolycus][inet[/64.102.209.58:9300]][cluster/reroute]];
nested: ElasticSearchIllegalArgumentException[[allocate] allocation of
[cqindex][2] on node [Dionysus][T08BTnRcQ162tynpYjCpzQ][inet] is not
allowed, reason: [YES()][NO()][YES()][YES()][YES()][YES()][YES()][YES()]];
",
"status": 400
}

--
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/5784cef8-62ae-4876-95d6-cda50882c1c5%40googlegroups.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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM973dP3mJom3BFBYKbO9ZC3LDzL%3Dvw_5CvnvP%2BxKOCAtQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.