You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you accidentally manage to place a leading space in front of a YML setting in elasticsearch.yml, then all follow-on settings will be silently ignored.
cluster.name: my-cluster
other.setting: xyz
# The rest is ignored
name.node: my-node
If you turn around and start the node, then it fails to recognize the node.name without any error:
@clintongormley It's our issue. We parse until we reach an end object token. The YAML spec requires that all sibling nodes be at the same indentation level. Once the indentation is reduced in the example that @pickypg gave, a YAML parser that parses according to the spec will return an end object token and we will stop parsing. Therefore, to solve this we should just ensure that when we encounter an end object token while parsing settings, we are in fact at the end of the settings stream. I've submitted PR #12451 to do this.
If you accidentally manage to place a leading space in front of a YML setting in
elasticsearch.yml
, then all follow-on settings will be silently ignored.If you turn around and start the node, then it fails to recognize the
node.name
without any error:The text was updated successfully, but these errors were encountered: