I'm not familiar with this specific error, but it sounds like there's a problem with the YAML formatting, perhaps to do with whitespace.
Can you please either paste the config as pre-formatted text (use the "</>" formatting option in Discuss), or paste it into https://pastebin.com/ or a similar service.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.