Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 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
Created 12-15-2017 09:19 PM
Have you added anything to NiFI's lib directory?
This looks like the classpath is messed up.
Created 12-15-2017 09:19 PM
Have you added anything to NiFI's lib directory?
This looks like the classpath is messed up.
Created 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
Created 12-15-2017 09:46 PM
Sounds good, there is a property in the HBase Client Service where you can specify the location of phoenix-client.jar so it can be located outside NiFi's lib dir.