Tag Archives: unless

Solve the problem that the local flow of the nifi node is inconsistent with the cluster flow, resulting in the failure to join the cluster

  1. abnormal information
    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:1026)
    	at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:539)
    	at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1028)
    	at org.apache.nifi.NiFi.<init>(NiFi.java:158)
    	at org.apache.nifi.NiFi.<init>(NiFi.java:72)
    	at org.apache.nifi.NiFi.main(NiFi.java:301)
    

    Delete the problem node ${NIFI_HOME}/conf/flow.xml.gz file, and then restart the node.

    [root@cdh01 conf]$ rm -rf flow.xml.gz 
    [root@cdh01 conf]$ ../bin/nifi.sh restart