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]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Can Launch Apache NiFi on Windows Laptop

avatar
Contributor

Im trying to run Apache NiFi on my laptop. I can start the run-nifi.bat But when I try to access http://localhost:8443/.  "This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE"

On the same laptop, I'm accessing different NiFi instances running on AWS. With different ports (Production).

System: Windows10

Please help to connect

1 ACCEPTED SOLUTION

avatar
Expert Contributor

I wonder what java version you have on your Windows machine?

NiFi supports java 8 and 11

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

First confirm if the NiFi JVM is running

search your logs for the word "UI is available"

If it is then I would look at your systems firewall windows defender?

If you do not see that log entry I would focus on why NiFi JVM is not coming up

avatar
Contributor

This is the error im observing

 

ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4ec616d6 Got this error

avatar
Expert Contributor

I wonder what java version you have on your Windows machine?

NiFi supports java 8 and 11

avatar
Contributor

I have installed latest version of Java and NiFi. Now it works. Thanks for the suggestion.