Hive throws: WstxParsingException: Illegal character entity: expansion character (code 0x8)

zhangvalue發表於2018-11-21

錯誤在第3202行

開啟hive-site.xml位於第3202行,

vim hive-site.xml +3202

發現是一個解釋性質的說明文件,裡面包含的特殊字元 for

<description>
     Ensures commands with OVERWRITE (such as INSERT OVERWRITE) acquire Exclusive locks for&#8;transactional tables.  This ensures that inserts (w/o overwrite) running concurrently are not hidden by the INSERT OVERWRITE.
</description>

它丟擲的錯誤,因為有詞之間的特殊字元事務。要麼刪除字元或複製和貼上(替換),

這是在兩者之間<description></description>

直接將for&#8;修改為for;

相關文章