org.elasticsearch.bootstrap.StartupError: java.lang.IllegalArgumentException: failed to parse setting [indices.fielddata.cache.size] with value [50%] as a size in bytes: unit is missing or unrecognized

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 obudiman
, 1 year ago
java.lang.IllegalArgumentException: failed to parse setting [indices.fielddata.cache.size] with value [50%] as a size in bytes: unit is missing or unrecognized
via GitHub by danm
, 10 months ago
java.lang.RuntimeException: bootstrap checks failed initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap 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
java.lang.RuntimeException: bootstrap checks failed initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap 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
java.lang.RuntimeException: bootstrap checks failed initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap please set [discovery.zen.minimum_master_nodes] to a majority of the number of master eligible nodes in your cluster
via Stack Overflow by Tjorriemorrie
, 1 year ago
java.lang.RuntimeException: bootstrap checks failed initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap
via Stack Overflow by Steven Bade
, 2 months ago
java.lang.RuntimeException: bootstrap checks failed max number of threads [1024] for user [elasticsearch] likely too low, increase to at least [2048]
org.elasticsearch.bootstrap.StartupError: java.lang.IllegalArgumentException: failed to parse setting [indices.fielddata.cache.size] with value [50%] as a size in bytes: unit is missing or unrecognized
at org.elasticsearch.common.settings.Setting.get(Setting.java:307)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:272)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:238)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:138)
at org.elasticsearch.node.Node.(Node.java:298)
at org.elasticsearch.node.Node.(Node.java:206)
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:175)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:175)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:255)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:101)
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:88)
at org.elasticsearch.cli.Command.main(Command.java:54)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:75)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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