Re: Exclusive locks acquired at the hive table has not got released automatically when hive services gets restarted

2020-03-11 Thread Peter Vary
Hi, Quick questions: - Which version of Hive are you using? - What type of LockManager is used? ZKLockManager is using ephemeral nodes to remove stale locks, but the default timeout is a bit high. DBLockManager uses heartbeat to identify stale locks, but you need a AcidHouseKeeperService to

Exclusive locks acquired at the hive table has not got released automatically when hive services gets restarted

2020-03-10 Thread Sunny Jain
Hi Everyone, While running Insert command or Alter table drop partition command, if hive services got restarted in between, then that acquired the exclusive lock on that partition which will remains after the restart also and for that kind of job there is no yarn application id is generated