Updating settings parent fielddata request – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Briefly, this error occurs when there’s an attempt to update the settings of the parent fielddata in Elasticsearch, which is not allowed as fielddata settings are immutable. To resolve this issue, you can either reindex your data with the correct settings or use a script to modify the data. Alternatively, you can use doc values instead of fielddata for sorting or aggregating fields, as they are more memory-efficient.

This guide will help you check for common problems that cause the log ” Updating settings parent: {}; fielddata: {}; request: {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: breaker, circuit, indices and settings.

Log Context

Log “Updating settings parent: {}; fielddata: {}; request: {}” classname is HierarchyCircuitBreakerService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             }

            if (changed) {
                // change all the things
                validateSettings(new BreakerSettings[]{newFielddataSettings; newRequestSettings});
                logger.info("Updating settings parent: {}; fielddata: {}; request: {}"; newParentSettings; newFielddataSettings; newRequestSettings);
                HierarchyCircuitBreakerService.this.parentSettings = newParentSettings;
                HierarchyCircuitBreakerService.this.fielddataSettings = newFielddataSettings;
                HierarchyCircuitBreakerService.this.requestSettings = newRequestSettings;

                Map tempBreakers = new HashMap();




 

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?