Is not configurable – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-8.9

Briefly, this error occurs when you try to modify a setting in Elasticsearch that is not allowed to be changed. This could be due to the setting being a static one, which can only be configured at startup and not dynamically while the system is running. To resolve this issue, you can either restart your Elasticsearch instance with the new setting in the configuration file or, if the setting is not crucial, you can ignore the error. However, be aware that ignoring the error might lead to unexpected behavior in your Elasticsearch instance.

This guide will help you check for common problems that cause the log ” is not configurable ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: index.

Log Context

Log “is not configurable” class name is MetadataFieldMapper.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 this.mapperParser = mapperParser;
 }  @Override
 public Builder parse(String name; Map node; MappingParserContext parserContext) throws MapperParsingException {
 throw new MapperParsingException(name + " is not configurable");
 }  @Override
 public MetadataFieldMapper getDefault(MappingParserContext parserContext) {
 return mapperParser.apply(parserContext);

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?