[ https://issues.apache.org/jira/browse/NIFI-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274596#comment-15274596 ]
ASF subversion and git services commented on NIFI-1678: ------------------------------------------------------- Commit 04c41c0654b166c9f42844cc9907ea791f4563bc in nifi's branch refs/heads/master from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=04c41c0 ] 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. - 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 - 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 NIFI-1727: - Refactored logic for merging HTTP Requests that are federated across cluster NIFI-1745: - Refactoring how HTTP Requests are replicated to nodes - Bug fixes and continuing to work on replication refactoring. Still need to handle cluster locking and revisions - Begin work on RevisionManager - Resolved some issues that resulted from rebase - Fixed URIs to align with new URI's that will be used in 1.0.0 - This closes #413 > 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)