You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Joann (JIRA)" <ji...@apache.org> on 2018/07/05 11:19:00 UTC
[jira] [Commented] (ZOOKEEPER-2319) UnresolvedAddressException
cause the QuorumCnxManager.Listener exit
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533539#comment-16533539 ]
Joann commented on ZOOKEEPER-2319:
-----------------------------------
I didn’t get security update from Apple for iPhone 6+ updated to iOS 11 and am unable to download it because of a bug. I am trying alternate methods
> UnresolvedAddressException cause the QuorumCnxManager.Listener exit
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-2319
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2319
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.4.6
> Reporter: Zhaohui Yu
> Assignee: Michael Han
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.7, 3.5.0, 3.6.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Given three nodes, the leader on 2, but some issue with this machine, so I shutdown this machine, and change the host name to another machine.
> Then I start the node in the new machine, but the new node can not join.
> I found the the 1 and 3's Listener thread exit.
> With the code of Listener's run method:
> I think we should catch UnresolvedAddressException to avoid the Listener exit.
> {noformat}
> @Override
> public void run() {
>
> while((!shutdown) && (numRetries < 3)){
> try {
> // bind and accept
> receiveConnection(client);
>
> } catch (IOException e) {
>
> }
> }
> //
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)