Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1991

Zero Master Cluster: Modifying a disconnected node causes other nodes to not be able to join cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Core Framework
    • None

    Description

      I created a zero master cluster with 3 nodes. All three were up and running.

      I stopped all 3 instances and then brought up just Node1.

      In the Node1 UI, I made some edits to the flow.

      I attempted but was not able to bring up Node2 and Node3 to join the cluster.

      Here is what I saw in the logs:

      2016-06-09 14:35:47,051 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
      java.lang.Exception: Unable to load flow due to: java.io.IOException: org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
              at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:753) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.NiFi.<init>(NiFi.java:137) [nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.NiFi.main(NiFi.java:227) [nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      Caused by: java.io.IOException: org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
              at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:501) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:744) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              ... 2 common frames omitted
      Caused by: org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
              at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:862) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:497) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              ... 3 common frames omitted
      Caused by: org.apache.nifi.controller.UninheritableFlowException: Proposed configuration is not inheritable by the flow controller because of flow differences: Found difference in Flows:
      Local Fingerprint contains additional configuration from Cluster Fingerprint: eba77dac-32ad-356b-8a82-f669d046aa21eba77dac-32ad-356b-8a82-f669d046aa21org.apache.nifi.processors.standard.LogAttributeNO_VALUEAttributes to IgnoreNO_VALUEAttributes to LogNO_VALUELog prefixNO_VALUEs
              at org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:219) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1329) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:75) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:668) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:839) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
              ... 4 common frames omitted
      2016-06-09 14:35:47,052 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrewmlim Andrew M. Lim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: