hive向表中插入数据报错和linux中mysql启动报[运行错误]

hive向表中插入数据失败但是导入可以,很可能是hadoop集群中的conf/hadoop/core-side.xml配置好了但是没分发到集群上其它的节点的原因,可以看看集群中其它的机器的core-side.xml文件是否与内容一致
hive命令中是删除不了hdfs文件系统中的表的数据的,
删除或更新会报:Error while compiling statement: FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations. (state=42000,code=10294)
只能删除更新本地的表.但是可以把表删了.
这是由于版本原因具体参考:https://community.hortonworks.com/content/kbentry/4321/hive-acid-current-state.html
mysql如果用非root用户启动的话可能是启动不了的,因为配置的时候默认的是root用户,这个时候切换root用户启动试试.

猜你喜欢

转载自blog.csdn.net/smsmtiger/article/details/83588988