1. 程式人生 > >hive檢視鎖表情況

hive檢視鎖表情況

Actually the table was locked with some queries. After unlocking the table, I am able to drop the table now.

=>Query to unlock the table

unlock table <tablename>

=>We can find the tables which are locked in the Hive CLI /Beeline:

show locks extended;