0

我正在尝试在一个配置单元表上创建索引并出现错误:

FAILED: 获取锁时出错:LockRequest(component:[LockComponent(type:EXCLUSIVE, level:PARTITION, dbname:, tablename: jobs_indx_jobs_title , partitionname:year=2016/month=1/sourcecd=BYD), LockComponent(type :SHARED_READ, level:TABLE, dbname:, tablename:jobs), LockComponent(type:SHARED_READ, level:PARTITION, dbname:, tablename:jobs, partitionname:year=2016/month=1/sourcecd=BD)], txnid: 0,用户:hadoop,主机名:Hortorn-NN-2.b2vheq12ivkfdsjdskdf3nba.dx.internal.cloudapp.net)在 5504043 毫秒后超时。LockResponse(lockid:58318, state:WAITING)

我想知道它在执行“show locks”命令时显示的哪个表配置单元元存储锁定信息?

4

2 回答 2

0

如果表是非事务性的,请尝试设置hive.support.concurrency=false.

于 2018-05-01T15:48:54.697 回答
0

它不在 Metastore 中,它在 ZooKeeper 主题中......

只需阅读2010 年针对HIVE-1293的文档和设计决策

于 2016-06-21T19:14:18.030 回答