hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alice Fan (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-19379) Docs Are Incorrect for "hive.lock.sleep.between.retries"
Date Tue, 29 May 2018 20:17:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-19379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alice Fan reassigned HIVE-19379:
--------------------------------

    Assignee: 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
>            Assignee: Alice Fan
>            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)

Mime
View raw message