0
点赞
收藏
分享

微信扫一扫

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配置文件中存在 ​&#8​ 特殊字符

解决方案:

干掉 ​&#8​ 特殊字符

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


举报

相关推荐

0 条评论