Igor Kryvenko created HIVE-20421:
------------------------------------

             Summary: Illegal character entity '\b' in hive-default.xml.template
                 Key: HIVE-20421
                 URL: https://issues.apache.org/jira/browse/HIVE-20421
             Project: Hive
          Issue Type: Bug
            Reporter: Igor Kryvenko
            Assignee: Igor Kryvenko
         Attachments: HIVE-20421.01.patch

Illegal {{\b}} element in {{hive-site.xml. }}

{code}
    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."),
{code}
Seems like just typo of {{\n}}.

Stacktrace 
{code}
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)

{code}
 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to