Illegal processing instruction target (xml)

java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
 at [row,col,system-id]: [19,5,"file:/home/appleyuchi/bigdata/hadoop-3.1.2/etc/hadoop/tez-site.xml"]

 

排查方案:

定位到上述tez-site.xml的第19行第5個字符位置開始看信息

解決方案:

<?xml version="1.0"?>

改成:

<?xml version="1.0" encoding="UTF-8"?>

小結:

Tez號稱incubator,果然孵化器的項目破事兒就是多。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章