Nifi 2.0.0 M1 Installation & Running Issues
Hi,
I have managed to download the latest Nifi 2.0.0 M1 and I'm trying to run it on my windows 10 machine. Doing some preliminary testing I ran into the following issues:
1- The system requirement indicates that (https://nifi.apache.org/project-documentation.html ) indicates that at minimum I need Java 17, but when I try to start nifi using run.bat I get the following error:
Error: LinkageError occurred while loading main class org.apache.nifi.bootstrap.RunNiFi
java.lang.UnsupportedClassVersionError: org/apache/nifi/bootstrap/RunNiFi has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
It turns out it needs Java 21. Not sure if the documentation has not been updated or if Im missing something.
2- After upgrading to Java 21, Im able to start nifi using default configuration, the log file doesn't show any error and default username and password are generated, however when I try to browse for https://127.0.0.1:8443/nifi I get the following error:

Not sure if this is something local to my machine but upon some internet search, I replaced url from 127.0.0.1 to localhost and it worked as I get to the log in screen.
3- This is not related to to 2.0 but I Want to mention in case someone else runs into the same issue. Basically by default, the generated user doesnt have access to security settings regarding Users & Policies. To enable this you need to set the :
nifi.security.user.authorizer=managed-authorizer
And add the generated username to the authorizers.xml as mentioned here :
4- The ExecuteScript processor doesnt have Python(Jython) script engine. It could be its deprecated , but that is not mentioned in the depricated components site (https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features ) . It only talks about removing support for Ruby , ECMAScript but not python . If its deprecated , what is the alternative ? Is it using Python API ?
4- Minor glitch I noticed when browsing nifi using chrome , for some reason the "Import from Registry" Icon is not showing!

It shows up in Edge and it shows up if I open chrome in private mode. Not sure if its caching issue or what.
Please advise.
Thanks

