Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.4.0, 3.0.0
-
None
-
None
Description
Default Value: 60
Added In: Hive 0.7.0 withHIVE-1293
The sleep time (in seconds) between various retries.
Actually, it's the sleep time (don't specify a unit) and the default value is 60s. If no unit is specified, it would be 60 milliseconds.
ZooKeeperHiveLockManager.java
public void refresh() {
HiveConf conf = ctx.getConf();
sleepTime = conf.getTimeVar(
HiveConf.ConfVars.HIVE_LOCK_SLEEP_BETWEEN_RETRIES, TimeUnit.MILLISECONDS);
numRetriesForLock = conf.getIntVar(HiveConf.ConfVars.HIVE_LOCK_NUMRETRIES);
numRetriesForUnLock = conf.getIntVar(HiveConf.ConfVars.HIVE_UNLOCK_NUMRETRIES);
}