You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Eason Zhang (JIRA)" <ji...@apache.org> on 2017/04/11 09:52:41 UTC
[jira] [Created] (TRAFODION-2588) monitor failed to start if part
of zookeeper server is down
Eason Zhang created TRAFODION-2588:
--------------------------------------
Summary: monitor failed to start if part of zookeeper server is down
Key: TRAFODION-2588
URL: https://issues.apache.org/jira/browse/TRAFODION-2588
Project: Apache Trafodion
Issue Type: Bug
Components: foundation
Reporter: Eason Zhang
Assignee: Eason Zhang
monitor gets zookpper node list from env $ZOOKEEPER_NODES. If one of the zookeeper server in this node list is down, monitor will not start with 'ZCONNECTIONLOSS' error:
2017-04-11 17:15:49,351, ERROR, ZOO, Node Number: 4294967295,, PIN: 21106 , Process Name: zooclient,,, TID: 21106, Message ID: 101370401, [CZClient::MakeClusterZNodes], zoo_exists() failed with error ZCONNECTIONLOSS
That is because zookeeper c client randomly picks up a zk server to connect with based on its own node selection algorithm. So the simple solution for monitor is that we do a retry when connection failed, let zookeeper c client to pick up another server from the list.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)