In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
In the past, I basically did not change the configuration file by myself, but I have changed it again in recent days. I have changed some configuration files and dealt with many nonsense mistakes.
Sort out the problems caused by a few spaces here.
The version is elasticsearch-2.3.0 or elasticsearch-rtf-master
Exception in thread "main" SettingsException [Failed to load settings from [elasticsearch.yml]]; nested: ElasticsearchParseException [malformed, expected settings to start with 'object', instead was [VALUE_STRING]]
The mistake is that there is no space before and after the colon of the parameter. I have been looking for this problem for a long time.
Later, I found this sentence on a foreign website.
Exception in thread "main" SettingsException [Failed to load settings from [elasticsearch.yml]]; nested: ElasticsearchParseException [malformed, expected end of settings but encountered additional content starting at line number: [3], column number: [1]]; nested: ParserException [expected'', but found BlockMappingStart
In 'reader', line 3, column 1:
Node.rack: r1
^
]
Likely root cause: expected', but found BlockMappingStart
In 'reader', line 3, column 1:
Node.rack: r1
This is the beginning of the line without spaces, fuck!
Exception in thread "main" SettingsException [Failed to load settings from [elasticsearch.yml]]; nested: ScannerException [while scanning a simple key
In 'reader', line 11, column 2:
Discovery.zen.ping.unicast.hosts...
^
Add a space after the parameter colon, or a space in the middle of the array
And the commented-out parameters cannot be followed by a space after # or an error will be reported.
For example:
# discovery.zen.minimum_master_nodes: 3
At present, it seems that the official programmer of es has not verified it and has not done a good job in this version.
The lattice above the parameters can solve many problems.
Maybe this stupid problem will be solved after a while, but previous versions seem to have such problems.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.