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

Solutions on the web

via GitHub by danm
, 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 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
, 4 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(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(UnknownSource)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(UnknownSource)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(UnknownSource)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

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