Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi 1.10.0 startup issues

avatar
Contributor

I have installed latest version of Nifi-1.10.0 , everything works locally , however on my Linux server i am having issues when i start NIFI , below is the stack trace.



2019-11-14 21:22:31,464 INFO [main] org.apache.nifi.NiFi Launching NiFi...

2019-11-14 21:22:31,812 INFO [main] org.apache.nifi.security.kms.CryptoUtils Determined default nifi.properties path to be '/ngs/app/ssewiret/nifi/./conf/nifi.properties'

2019-11-14 21:22:31,818 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 143 properties from /ngs/app/ssewiret/nifi/./conf/nifi.properties

2019-11-14 21:22:31,826 INFO [main] org.apache.nifi.NiFi Loaded 143 properties

2019-11-14 21:22:31,838 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 33317

2019-11-14 21:22:31,862 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap

2019-11-14 21:22:31,909 INFO [main] org.apache.nifi.nar.NarUnpacker Expanding 198 NAR files with all processors...

2019-11-14 21:22:31,933 WARN [main] org.apache.nifi.nar.NarUnpacker Unable to load NAR library bundles due to java.util.zip.ZipException: zip END header not found Will proceed without loading any further Nar bundles

2019-11-14 21:22:31,942 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.IllegalStateException: Unable to locate Jetty bundle.

java.lang.IllegalStateException: Unable to locate Jetty bundle.

at org.apache.nifi.nar.NarClassLoaders.load(NarClassLoaders.java:211)

at org.apache.nifi.nar.NarClassLoaders.init(NarClassLoaders.java:119)

at org.apache.nifi.NiFi.<init>(NiFi.java:134)

at org.apache.nifi.NiFi.<init>(NiFi.java:72)

at org.apache.nifi.NiFi.main(NiFi.java:301)

2019-11-14 21:22:31,944 INFO [Thread-0] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...

2019-11-14 21:22:31,946 INFO [Thread-0] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).

Thanks for the help.

 

 

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Wha is your Java/JDK version in use here? The error

 

java.util.zip.ZipException: zip END header not found  

seems suspicious. Seems similar bugs reported in certain versions of openJDK 9 at https://bugs.openjdk.java.net/browse/JDK-8172872 or https://bugs.openjdk.java.net/browse/JDK-8170276

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

Wha is your Java/JDK version in use here? The error

 

java.util.zip.ZipException: zip END header not found  

seems suspicious. Seems similar bugs reported in certain versions of openJDK 9 at https://bugs.openjdk.java.net/browse/JDK-8172872 or https://bugs.openjdk.java.net/browse/JDK-8170276

avatar
Contributor

Thanks, I was able to fix the issue.

avatar
Expert Contributor

Thanks @samarsimha for sharing the feedback. Just to be on the same, how did you resolve the issue? were you on any of the affected JDK version?

 

Your answer may help other users who face a similar issues.

avatar
Contributor

Yes , it was picking up openJDK 9 which was in the classpath, i pointed to right JDK 11 and it is working now.