Check your ES logs, there may be something there. Regards, Mark Walkom
Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 15 April 2014 22:20, Andreas Paul <xorp...@gmail.com> wrote: > Hello there, > > on Monday morning our ES cluster cluster switched to red, because he > didn't assign the new created indices to any ES node, see attached picture. > > > > I tried manually allocating these unassigned shards to a node, but it only > returned the following error: > > # curl -XPOST $(hostname -f):9200/_cluster/reroute?pretty=true -d > '{"commands": [{"allocate": {"index": "foobar", "shard": 0, "node": > "es@log09", "allow_primary": true }}]}' > { > "error" : > "RemoteTransportException[[es@log05][inet[/12313.20.36.1337:9300]][cluster/reroute]]; > nested: IllegalFormatConversionException[d != java.lang.Double]; ", > "status" : 400 > } > > > Also see https://gist.github.com/xorpaul/10644099 > > I also tried > > curl -XPUT $(hostname -f):9200/_settings -d ' > {"index.routing.allocation.disable_allocation": false}' > > and > > curl -XPUT $(hostname -f):9200/_settings -d ' > {"index.routing.allocation.enable": "all"}' > > and removing one node from the cluster, which seemed to help, because it > finally assigned the shards to a node. > > Unfortunately the same problem appeared again the next day, when the > cluster tried to create new indices. > > Elasticsearch 1.1.0 with OpenJDK Java7 on Debian Wheezy > > > I would like to find out the reason why the cluster doesn't assign these > new shards to any node or find a way to issue a command to the cluster to > reassign/redistribute all unassigned shards to a node. > > Thanks in advance! > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/c7b24957-7c97-4f2f-b1b1-70b61cb29669%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/c7b24957-7c97-4f2f-b1b1-70b61cb29669%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bko7rK%3Ds%2Bp9oJFdCW9VdykCusUP0DJER8%3Dj%3Dj9%2BtLLBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.