The hive-site.xml file bundled with Spark Standalone has a syntax error.
The licence header must be after the xml declaration otherwise we get an exception:
24/03/21 21:57:36 ERROR Configuration: error parsing conf file:/opt/goe/transport/spark-3.2.4-bin-hadoop3.2/conf/hive-site.xml
org.apache.hadoop.shaded.com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col,system-id]: [17,5,"file:/opt/goe/transport/spark-3.2.4-bin-hadoop3.2/conf/hive-site.xml"]
The
hive-site.xml
file bundled with Spark Standalone has a syntax error.The licence header must be after the xml declaration otherwise we get an exception: