schematool -dbType mysql -initSchema初始化报错Illegal character entity: expansion character (code 0x8 at
Posted 闭关苦炼内功
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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配置文件中存在  特殊字符
解决方案:
干掉  特殊字符
做技术,一定要严谨!!!
以上是关于schematool -dbType mysql -initSchema初始化报错Illegal character entity: expansion character (code 0x8 at的主要内容,如果未能解决你的问题,请参考以下文章
hive_异常_01_ Terminal initialization failed; falling back to unsupported
hive 格式化:Error: Table ‘CTLGS‘ already exists (state=42S01,code=1050) Closing: 0: jdbc:mysql://hadoop
安装hive初始化元数据库时发生java.lang.ClassNotFoundException : com.mysql.cj.jdbc.Driver
Hive初始化报错Exception in thread “main“ java.lang.NoSuchMethodError: com.google.common.base.Precondition