You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2019/06/04 21:33:01 UTC
[jira] [Commented] (HIVE-20854) Sensible Defaults: Hive's Zookeeper
heartbeat interval is 20 minutes, change to 2
[ https://issues.apache.org/jira/browse/HIVE-20854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856134#comment-16856134 ]
Ashutosh Chauhan commented on HIVE-20854:
-----------------------------------------
This one needs to be pushed in.
> Sensible Defaults: Hive's Zookeeper heartbeat interval is 20 minutes, change to 2
> ---------------------------------------------------------------------------------
>
> Key: HIVE-20854
> URL: https://issues.apache.org/jira/browse/HIVE-20854
> Project: Hive
> Issue Type: Bug
> Reporter: Gopal V
> Assignee: Gopal V
> Priority: Major
> Attachments: HIVE-20854.1.patch, HIVE-20854.2.patch
>
>
> {code}
> HIVE_ZOOKEEPER_SESSION_TIMEOUT("hive.zookeeper.session.timeout", "1200000ms",
> new TimeValidator(TimeUnit.MILLISECONDS),
> "ZooKeeper client's session timeout (in milliseconds). The client is disconnected, and as a result, all locks released, \n" +
> "if a heartbeat is not sent in the timeout."),
> {code}
> That's 1,200,000ms which is too long for all practical purposes - a 20 minute outage in case a node has a failure is too long.
> That is too long for the JDBC load-balancing, LLAP failure tolerance and the lock manager expiry.
> Change to 2 minutes, as a sensible default
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)