hive 锁表问题

时间:2017-04-05 20:06:58   收藏:0   阅读:2170

报错如下:

Unable to acquire IMPLICIT, EXCLUSIVE lock dms@pc_user_msg@month=201611 after 100 attempts.

技术分享

显示dms库下的pc_user_msg表分区month=201611被锁住了,

查看是否被锁:

show locks pc_user_msg;

列出相关查看锁表语句:

解决办法:

关闭锁机制:

set hive.support.concurrency=false; 默认为true

参考文章:

http://blog.csdn.net/techchan/article/details/50426743

原文:http://www.cnblogs.com/sunt9/p/6670249.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!