schematool -dbType mysql -initSchema初始化报错Illegal character entity: expansion character (code 0x8 at

hive 初始化报错

报错信息如下:

[root@localhost conf]# ../bin/schematool -dbType mysql -initSchema
Exception in thread "main" java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion character (code 0x8
 at [row,col,system-id]: [3224,96,"file:/opt/hive/conf/hive-site.xml"]

根本原因:

hive-site.xml配置文件中存在  特殊字符


解决方案:

干掉  特殊字符


做技术,一定要严谨!!!

你可能感兴趣的:(经验分享,BigData,Linux,大数据,hive,linux)