[
https://issues.apache.org/jira/browse/NIFI-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254477#comment-15254477
]
ASF subversion and git services commented on NIFI-1678:
-------------------------------------------------------
Commit fb7b3fe4b87b8c9f45a43d460a3020947ef55dcc in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=fb7b3fe ]
NIFI-1678: Started refactoring heartbeating mechanism, using a new package:
org.apache.nifi.cluster.coordination
Added configuration options for ZooKeeper username & password for heartbeat
management. Also addressed issue where nodes that were previously disconnected
were asked to disconnect upon restart
Ensure that ACL is set properly when creating heartbeat node. Removed unused
ControllerStartupFailureMessage.java
Changed ZooKeeper ACL's so that container nodes that would not be sensitive are
wide open and removed the usage of username & password when communicating with
ZooKeeper. This was done specifically because username/password combination is
considered a 'testing' feature that should not be used in production and is not
supported by Apache Curator
Refactored CuratorHeartbeatMonitor into an abstract heartbeat monitor that is
responsible for processing heartbeats and CuratorHeartbeatMonitor that is
responsible for retrieving heartbeat information
Refactored so that heartbeats are sent to Cluster Coordinator directly instead
of to ZooKeeper. ZooKeeper is used to know which node is the cluster
coordinator but heartbeats to the Cluster Coordinator provide additional
information about the nodes.
Code cleanup and incorporate comments from peer review
This closes #323
> Nodes in cluster should use ZooKeeper to store heartbeat messages instead of
> sending to NCM
> -------------------------------------------------------------------------------------------
>
> Key: NIFI-1678
> URL: https://issues.apache.org/jira/browse/NIFI-1678
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.0.0
>
>
> Currently, nodes send heartbeats to the NCM periodically in order to indicate
> that they are actively participating in the cluster. As we move away from
> using an NCM, we need these heartbeats to go somewhere else. ZooKeeper is a
> reasonable location to push the heartbeats to, as it provides the HA that we
> need
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)