[
https://issues.apache.org/jira/browse/HIVE-19379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alice Fan reassigned HIVE-19379:
--------------------------------
Assignee: (was: Alice Fan)
> Docs Are Incorrect for "hive.lock.sleep.between.retries"
> --------------------------------------------------------
>
> Key: HIVE-19379
> URL: https://issues.apache.org/jira/browse/HIVE-19379
> Project: Hive
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 3.0.0, 2.4.0
> Reporter: BELUGA BEHR
> Priority: Minor
>
> https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-Locking
> {quote}
> Default Value: 60
> Added In: Hive 0.7.0 with HIVE-1293
> The sleep time (in seconds) between various retries.
> {quote}
> 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.
> {code:java|title=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);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)