[
https://issues.apache.org/jira/browse/HADOOP-19469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019974#comment-18019974
]
ASF GitHub Bot commented on HADOOP-19469:
-----------------------------------------
github-actions[bot] commented on PR #7426:
URL: https://github.com/apache/hadoop/pull/7426#issuecomment-3287231351
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> Set Curator Connection Timeout
> ------------------------------
>
> Key: HADOOP-19469
> URL: https://issues.apache.org/jira/browse/HADOOP-19469
> Project: Hadoop Common
> Issue Type: Bug
> Components: hadoop-common
> Affects Versions: 3.3.6, 3.5.0
> Reporter: Xiao Yu
> Priority: Minor
> Labels: pull-request-available
>
> Curator 5.2.0 has a default "connection timeout" of 15s:
> [https://github.com/apache/curator/blob/apache-curator-5.2.0/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java#L63]
> And it will throw a warning if the Zookeeper session timeout is less than the
> Curator connection timeout:
> [https://github.com/apache/curator/blob/apache-curator-5.2.0/curator-client/src/main/java/org/apache/curator/CuratorZookeeperClient.java#L117-L120]
> The Hadoop default for ZK timeout is set to 10s:
> [https://github.com/apache/hadoop/blob/0dd9bf8/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java#L414-L416]
> Which means without setting the "connection timeout" a default installation
> will keep warning about the connection timeout for Curator being lower than
> the requested session timeout. This sets both timeout values to override the
> Curator default.
> Another option is to change the default Hadoop ZK timeout from 10s to 15s.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]