title: Hive throws: WstxParsingException: Illegal character entity: expansion character (code 0x8)
body: <p>I installed hadoop and hive following <a href="https://www.tutorialspoint.com/hive/hive_installation.htm" rel="noreferrer">this</a> tutorial. The tutorial is outdated so I used the current versions. When I start hive I get the following error: </p>
  
  <blockquote>
    <p>hive 
    SLF4J: Actual binding is of type
    [org.apache.logging.slf4j.Log4jLoggerFactory] Exception in thread
    "main" java.lang.RuntimeException:
    com.ctc.wstx.exc.WstxParsingException: Illegal character entity:
    expansion character (code 0x8  at [row,col,system-id]:
    [3210,96,"file:.../software/apache-hive-3.1.0-bin/conf/hive-site.xml"]
      at
    org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:3003)
      at
    org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2931)
      at
    org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2806)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:1460)
      at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:4990)
      at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:5063)
      at
    org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5150)
      at org.apache.hadoop.hive.conf.HiveConf.(HiveConf.java:5093)
      at
    org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:97)
      at
    org.apache.hadoop.hive.common.LogUtils.initHiveLog4j(LogUtils.java:81)
      at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:699)     at
    org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)     at
    org.apache.hadoop.util.RunJar.run(RunJar.java:318)    at
    org.apache.hadoop.util.RunJar.main(RunJar.java:232)</p>
  </blockquote>
  
  <p>I had a look at the specified file and found this entry:</p>
  
  <pre><code>&lt;description&gt;
    Ensures commands with OVERWRITE (such as INSERT OVERWRITE) acquire Exclusive locks for&amp;#8;transactional tables.  This ensures that inserts (w/o overwrite) running concurrently
    are not hidden by the INSERT OVERWRITE.
  &lt;/description&gt;
  </code></pre>
  
  <p>I am running on Ubuntu 16.04, hive 3.1.0, derby 10.8.1.2, hadoop 3.1.1, Java: openjdk version "1.8.0_181"
  . I added some lines to the file for configuration as outlined in the tutorial, though I did not touch this lines at all. Do I have to download a different version of hive? </p>