You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2018/11/01 18:02:00 UTC
[jira] [Created] (HIVE-20854) Sensible Defaults: Hive's Zookeeper
heartbeat interval is 20 minutes, change to 2
Gopal V created HIVE-20854:
------------------------------
Summary: 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
{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)