java.lang.IllegalStateException: please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by danm
, 10 months ago
please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
via Stack Overflow by fxp
, 1 year ago
please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
via GitHub by nik9000
, 1 year ago
please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
via GitHub by dadoonet
, 1 year ago
please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
via Stack Overflow by Steven Bade
, 2 months ago
max number of threads [1024] for user [elasticsearch] likely too low, increase to at least [2048]
via Stack Overflow by Tjorriemorrie
, 1 year ago
initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap
java.lang.IllegalStateException: please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)

Users with the same issue

Once, 5 months ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.