[ https://issues.apache.org/jira/browse/NIFI-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274597#comment-15274597 ]
ASF subversion and git services commented on NIFI-1727: ------------------------------------------------------- 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 > Refactor NCM Node Response merging > ---------------------------------- > > Key: NIFI-1727 > URL: https://issues.apache.org/jira/browse/NIFI-1727 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Reporter: Mark Payne > Assignee: Mark Payne > Fix For: 1.0.0 > > > Currently, when the NCM federates a request to nodes in the cluster, those > responses are merged using one massive 'mergeResponses' method, which > delegates to many different 'mergeXYZ' methods. The logic is very repetitive > and tedious to update and lives within the WebClusterManager. > We need to simplify the logic, since it is very repetitive and need to pull > the logic out of WebClusterManager into a separate interface so that the code > can be cleanly pulled from the NCM and merged into the cluster coordinator on > the nodes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)