In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.