📣 极限科技诚招搜索运维工程师(Elasticsearch/Easysearch)- 全职/北京 👉 : 立即申请加入

版本: 7.6-8.9

简而言之,当 Elasticsearch 中的设置未正确配置时会发生此错误。由 “concreteSetting.getKey()” 标识的设置接收了一个无效值,表示为 “value”。要解决此问题,您应该首先识别导致问题的设置。然后,查看 Elasticsearch 文档以了解此设置的正确格式或可接受的值。相应地更正值并重新启动 Elasticsearch。如果问题仍然存在,请考虑将设置重置为默认值。

日志上下文 #

日志 “[” + concreteSetting.getKey() + “] is malformed [” + value + “]” 的类名是 HttpExporter.java。我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:

if (Strings.isNullOrEmpty(value) == false) {
    try {
        RestClientBuilder.cleanPathPrefix(value);
    } catch (RuntimeException e) {
        SettingconcreteSetting = HttpExporter.PROXY_BASE_PATH_SETTING.getConcreteSetting(key);
        throw new SettingsException("[" + concreteSetting.getKey() + "] is malformed [" + value + "]"; e);
    }
}
}; Property.Dynamic; Property.NodeScope; Property.DeprecatedWarning);
HTTP_TYPE_DEPENDENCY
);
``` when a setting in Elasticsearch is not correctly configured. The setting identified by "concreteSetting.getKey()" has received an invalid value, represented by "value". To resolve this issue, you should first identify the setting that is causing the problem. Then, check the Elasticsearch documentation to understand the correct format or acceptable values for this setting. Correct the value accordingly and restart Elasticsearch. If the problem persists, consider resetting the setting to its default value.

Log Context
-----------

Log "[" + concreteSetting.getKey() + "] is malformed [" + value + "]" class name is [HttpExporter.java.](https://www.geeksforgeeks.org/java-lang-class-class-java-set-1/) We extracted the following from Elasticsearch source code for those seeking an in-depth context :

```java
if (Strings.isNullOrEmpty(value) == false) {
 try {
 RestClientBuilder.cleanPathPrefix(value);
 } catch (RuntimeException e) {
 SettingconcreteSetting = HttpExporter.PROXY_BASE_PATH_SETTING.getConcreteSetting(key);
 throw new SettingsException("[" + concreteSetting.getKey() + "] is malformed [" + value + "]"; e);
 }
 }
 }; Property.Dynamic; Property.NodeScope; Property.DeprecatedWarning);
 HTTP_TYPE_DEPENDENCY
 );