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 :
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)
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 :
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)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.