gluent / goe

GOE: a simple and flexible way to copy data from an Oracle Database to Google BigQuery.
Apache License 2.0
8 stars 2 forks source link

Invalid syntax in Spark hive-site.xml #130

Closed nj1973 closed 3 months ago

nj1973 commented 3 months ago

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"]