Hi,
I have an elasticsearch node that ran out of disk space (which I have
resolved), but now all shards are unassigned.
I've tried assigned a shard, but am running into ElasticSearchIllegalArgumentException[[allocate]
allocation of [logstash-2013.07.03][0] on node
[][9mn99IiWR8Gc5tjSPvtxlA][inet[202.60.69.224/202.60.69.224:9300]]{max_local_storage_nodes=1}
is not allowed, reason: [NO()][YES()][YES()][YES()][YES()][YES()][YES()]]
The details of the request and full error are at
health.json
{
"cluster_name": "elasticsearch",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 440,
"active_shards": 440,
"relocating_shards": 0,
"initializing_shards": 0,
This file has been truncated. show original
log
org.elasticsearch.ElasticSearchIllegalArgumentException: [allocate] allocation of [logstash-2013.07.03][0] on node [<hostname>][9mn99IiWR8Gc5tjSPvtxlA][inet[<ipaddress>:9300]]{max_local_storage_nodes=1} is not allowed, reason: [NO()][YES()][YES()][YES()][YES()][YES()][YES()]
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:128)
at org.elasticsearch.action.admin.cluster.reroute.TransportClusterRerouteAction$1.execute(TransportClusterRerouteAction.java:83)
at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
request.json
{
"commands": [
{
"allocate": {
"index": "logstash-2013.07.03",
"shard": 0,
"allow_primary": true,
"node": "<hostname>"
}
}
This file has been truncated. show original
There are more than three files. show original
Thanks,
Alan
--
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 .
johantan
(johantan)
November 19, 2013, 1:12am
2
I have encountered the same issue. Is there any solution to this?