Hi,
i am using elasticsearch for a while and one morning i have noticed i have
an unassigned shard.
i started to play with the cluster (restart some nodes, add more nodes, try
to move allocate the shards) and got some more unassigned
i realized all the shards which are primary in one of the nodes has their
replicas unassigned.
also, i tired to allocate or move those shards, and all i get is:
org.elasticsearch.transport.RemoteTransportException:
[foa02][inet[/192.168.2.2:9300]][cluster/reroute]
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException:
[allocate] allocation of [logstash-2014.02.18][0] on node
[foa8][Rhmt4uF6Rf2_8WAw-WieZA][inet[192.168.2.8/192.168.2.8:9300]]{master=false}
is not allowed, reason: NO()
at
org.elasticsearch.cluster.routing.allocation.command.AllocateAllocationCommand.execute(AllocateAllocationCommand.java:188)
at
org.elasticsearch.cluster.routing.allocation.command.AllocationCommands.execute(AllocationCommands.java:116)
at
org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:125)
at
org.elasticsearch.action.admin.cluster.reroute.TransportClusterRerouteAction$1.execute(TransportClusterRerouteAction.java:112)
at
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:300)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:135)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
i attached an image from the "head" plugin
https://lh4.googleusercontent.com/-lQxXqu8G1jc/UwSh5GyXkuI/AAAAAAAAGV0/ZfnsveGeA30/s1600/head.jpg
any idea what is wrong?
--
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/c2a5ba79-3bfd-41c5-981f-6e535c6c0052%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.