报错信息为:
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. show Locks LockManager not specified
这个你应该是在hive-site.xml文件中开启锁机制
那么如何开启锁机制呢
修改hive-site.xml,配置如下:
hive.zookeeper.quorum
zk1,zk2,zk3
hive.support.concurrency
true
但加锁之后再hive shell命令行输入查看表和查看表的数据有可能出错
没事儿还是不要开锁吧
hive shell命令行输入show locks tablename 报错的解决
最新推荐文章于 2024-06-20 14:02:41 发布