Member since
06-03-2017
7
Posts
0
Kudos Received
0
Solutions
12-22-2017
04:48 AM
Hi, I am configured HDF 3.0.1 with 3 nodes : HDF1 (Primary), HDF2 and HDF3, There was Out of Disk space issues on HDF1 and HDF3, after recovery HDF1 is not starting up with below error. nifi-app.log 2017-12-21 16:37:47,462 ERROR [main] o.a.nifi.controller.StandardFlowService Failed to load flow from cluster due to: org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
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:936)
at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:515)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:800)
at org.apache.nifi.NiFi.<init>(NiFi.java:160)
at org.apache.nifi.NiFi.main(NiFi.java:267)
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: 7c84501d-d10c-407c-b9f3-1d80e38fe36a3b80ba0f-a6c0-48db-b721-4dbc04cef28eorg.apache.nifi.reporting.ambari.AmbariReportingTaskAmbariReport
Cluster Fingerprint: 7c84501d-d10c-407c-b9f3-1d80e38fe36a826ffb50-015e-1000-ffff-ffffd8f61569org.apache.nifi.processors.standard.ExtractTextNO_VALUEorg.apach
at org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:259)
at org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1576)
at org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:84)
at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:722)
at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:911)
... 4 common frames omitted
2017-12-21 16:37:47,463 INFO [main] o.a.n.c.c.node.NodeClusterCoordinator HDF1:9090 requested disconnection from cluster due to org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
2017-12-21 16:37:47,463 INFO [main] o.a.n.c.c.node.NodeClusterCoordinator Status of HDF1:9090 changed from NodeConnectionStatus[nodeId=HDF1:9090, state=CONNECTING, updateId=7] to NodeConnectionStatus[nodeId=HDF1:9090, state=DISCONNECTED, Disconnect Code=Node's Flow did not Match Cluster Flow, Disconnect Reason=org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow., updateId=7]
2017-12-21 16:37:47,482 ERROR [main] o.a.n.c.c.node.NodeClusterCoordinator Event Reported for HDF1:9090 -- Node disconnected from cluster due to org.apache.nifi.controller.UninheritableFlowException:Failed to connect node to cluster because local flow is different than cluster flow.
2017-12-21 16:37:47,482 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager Cannot unregister Leader Election Role 'Primary Node' becuase that role is not registered
2017-12-21 16:37:47,483 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.lang.IllegalStateException: Already closed or has not been started
at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
at org.apache.curator.framework.recipes.leader.LeaderSelector.close(LeaderSelector.java:270)
at org.apache.nifi.controller.leader.election.CuratorLeaderElectionManager.unregister(CuratorLeaderElectionManager.java:151)
at org.apache.nifi.controller.FlowController.setClustered(FlowController.java:3744)
at org.apache.nifi.controller.StandardFlowService.handleConnectionFailure(StandardFlowService.java:554)
at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:518)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:800)
at org.apache.nifi.NiFi.<init>(NiFi.java:160)
at org.apache.nifi.NiFi.main(NiFi.java:267)
2017-12-21 16:37:47,484 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2017-12-21 16:37:47,496 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@672c6b93{HTTP/1.1,[http/1.1]}{HDF1:9090}
2017-12-21 16:37:47,497 INFO [Thread-1] org.eclipse.jetty.server.session Stopped scavenging
... View more
Labels:
- Labels:
-
Apache NiFi
-
Cloudera DataFlow (CDF)
12-15-2017
09:29 PM
I added phoenix-client.jar to the nifi/lib folder, i moved it out and able to start nifi now. Thanks
... View more
12-15-2017
07:01 PM
I am unable to restart NIFI on HDF 3, getting following error ERRORorg.apache.nifi.NiFi Failure to launch NiFi due to java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.nifi.NiFi.<init>(NiFi.java:153) at org.apache.nifi.NiFi.main(NiFi.java:267) Caused by: java.lang.NoSuchMethodError: org.eclipse.jetty.util.TypeUtil.getLoadedFrom(Ljava/lang/Class;)Lorg/eclipse/jetty/util/resource/Resource; at org.eclipse.jetty.webapp.WebAppContext.<clinit>(WebAppContext.java:140) at org.eclipse.jetty.webapp.Configuration$ClassList.<init>(Configuration.java:148) at org.eclipse.jetty.webapp.Configuration$ClassList.serverDefault(Configuration.java:143) at org.eclipse.jetty.webapp.Configuration$ClassList.setServerDefault(Configuration.java:115) at org.apache.nifi.web.server.JettyServer.<init>(JettyServer.java:149) ... 6 common frames omitted
... View more
Labels:
- Labels:
-
Apache NiFi