Ok, i think i just hunted the problem !
I put my master in DEBUG level, with I discovered the nodes are almost full 
considering disk usage, with the configured watermaks
the cluster wasn't able to make a decision about allocation.

If I ask for an allocation I get this Exception stacktrace instead of 
saying it's not possible to allocate because of the disk usage allocation 
policy.



Le dimanche 8 mars 2015 16:14:40 UTC+1, Germain a écrit :
>
> Hello everybody,
>
> I have an error that never happened before.
>
> On every node the versions are :
> Elasticsearch 0.90.13
> java version "1.7.0_75"
> OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
> OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
>
> When i want to allocate or relocate shards, I get this error :
>
> curl -XPOST node1:9200/_cluster/reroute -d '{
>     "commands" : [
>         {
>           "allocate" : {
>               "index" : "warmup-2015-1", "shard" : 6, "node" : "node2"
>           }
>         }
>     ]
> }'
> {"error":"RemoteTransportException[[nodemaster][inet[/x.x.x.x:9300]][cluster/reroute]];
>  
> nested: IllegalFormatConversionException[d != java.lang.Double]; 
> ","status":400}
>
> Nodemaster logs :
> [2015-03-08 15:18:30,577][DEBUG][action.admin.cluster.reroute] [
> nodemaster.rtgi.eu] failed to perform [cluster_reroute (api)]
> java.util.IllegalFormatConversionException: d != java.lang.Double
>         at 
> java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045)
>         at 
> java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2748)
>         at java.util.Formatter$FormatSpecifier.print(Formatter.java:2702)
>         at java.util.Formatter.format(Formatter.java:2488)
>         at java.util.Formatter.format(Formatter.java:2423)
>         at java.lang.String.format(String.java:2834)
>         at 
> org.elasticsearch.cluster.routing.allocation.decider.Decision$Single.toString(Decision.java:106)
>         at 
> org.elasticsearch.cluster.routing.allocation.decider.Decision$Multi.toString(Decision.java:145)
>         at java.lang.String.valueOf(String.java:2847)
>         at java.lang.StringBuilder.append(StringBuilder.java:128)
>         at 
> org.elasticsearch.cluster.routing.allocation.command.AllocateAllocationCommand.execute(AllocateAllocationCommand.java:197)
>         at 
> org.elasticsearch.cluster.routing.allocation.command.AllocationCommands.execute(AllocationCommands.java:116)
>         at 
> org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:130)
>         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(PrioritizedEsT
> hreadPoolExecutor.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:745)
>
> I tried a full cluster restart, i does not help.
>
> Any idea about the problem could this ?
>
> Thank you.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0017187e-3392-4934-a70b-bea2bdb662e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to