一、报错问题:
ERROR conf.Configuration: error parsing conf yarn-site.xml
com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col,system-id]: [18,5,"file:/opt/module/hadoop-3.1.4/etc/hadoop/yarn-site.xml"]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:621)
二、解决方案
1)、这里提示的的yarn-site.xml这个配置文件错误
那我们检查配置文件yarn-site.xml
2)、检查后发现多了个<configuration>
还有就是补充一下:
配置文件需写入到两个<configuration>
之间