Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20421

Illegal character entity '\b' in hive-default.xml.template

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      Illegal \b element in hive-site.xml. 

          TXN_OVERWRITE_X_LOCK("hive.txn.xlock.iow", true,
              "Ensures commands with OVERWRITE (such as INSERT OVERWRITE) acquire Exclusive locks for\b" +
                  "transactional tables.  This ensures that inserts (w/o overwrite) running concurrently\n" +
                  "are not hidden by the INSERT OVERWRITE."),
      

      Seems like just typo of \n.

      Stacktrace

      Exception in thread "main" java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion character (code 0x8
       at [row,col,system-id]: [3278,96,"file:/usr/local/apache-hive/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:5059)
      	at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:5132)
      	at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5219)
      	at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5167)
      	at org.apache.hive.beeline.schematool.HiveSchemaTool.main(HiveSchemaTool.java:138)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
      	at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
      
      

       

       

      Attachments

        1. HIVE-20421.01.patch
          1 kB
          Igor Kryvenko

        Activity

          People

            ikryvenko Igor Kryvenko
            ikryvenko Igor Kryvenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: