You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/05/28 11:05:00 UTC

[jira] [Commented] (HADOOP-15449) Increase default timeout of ZK session to avoid frequent NameNode failover

    [ https://issues.apache.org/jira/browse/HADOOP-15449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492536#comment-16492536 ] 

Hudson commented on HADOOP-15449:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14300 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14300/])
HADOOP-15449. Increase default timeout of ZK session to avoid frequent (aajisaka: rev 61df174e8b3d582183306cabfa2347c8b96322ff)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
* (edit) hadoop-common-project/hadoop-common/src/main/resources/core-default.xml


> Increase default timeout of ZK session to avoid frequent NameNode failover
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-15449
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15449
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 2.7.4
>            Reporter: Karthik Palanisamy
>            Assignee: Karthik Palanisamy
>            Priority: Critical
>             Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3, 2.8.5
>
>         Attachments: HADOOP-15449-002.patch, HADOOP-15449.patch
>
>
> We observed from several users regarding Namenode flip-over is due to either zookeeper disk slowness (higher fsync cost) or network issue. We would need to avoid flip-over issue to some extent by increasing HA session timeout, ha.zookeeper.session-timeout.ms.
> Default value is 5000 ms, seems very low in any production environment.  I would suggest 10000 ms as default session timeout.
>  
> {code}
> ..
> 2018-05-04 03:54:36,848 INFO  zookeeper.ClientCnxn (ClientCnxn.java:run(1140)) - Client session timed out, have not heard from server in 4689ms for sessionid 0x260e24bac500aa3, closing socket connection and attempting reconnect 
> 2018-05-04 03:56:49,088 INFO  zookeeper.ClientCnxn (ClientCnxn.java:run(1140)) - Client session timed out, have not heard from server in 3981ms for sessionid 0x360fd152b8700fe, closing socket connection and attempting reconnect
> .. 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org