Created 02-06-2018 05:43 AM
while trying to start the nifi registry I am getting following error.
nifi registry version: 0.1.0
JDK version: jdk1.8.0_161
Installation Method: Downlading the zip file from following location.
https://nifi.apache.org/registry.html
I am using the windows machine, could that be an issue?
2018-02-06 00:11:52,665 INFO [main] org.apache.nifi.registry.NiFiRegistry Launching NiFi Registry... 2018-02-06 00:11:52,676 INFO [main] org.apache.nifi.registry.NiFiRegistry Read property protection key from conf/bootstrap.conf 2018-02-06 00:11:52,799 INFO [main] o.a.n.r.security.crypto.CryptoKeyLoader No encryption key present in the bootstrap.conf file at C:\nifi-registry-0.1.0-bin\nifi-registry-0.1.0\conf\bootstrap.conf 2018-02-06 00:11:52,807 INFO [main] o.a.n.r.p.NiFiRegistryPropertiesLoader Loaded 26 properties from C:\nifi-registry-0.1.0-bin\nifi-registry-0.1.0\conf\nifi-registry.properties 2018-02-06 00:11:52,811 INFO [main] org.apache.nifi.registry.NiFiRegistry Loaded 26 properties 2018-02-06 00:11:52,813 INFO [main] org.apache.nifi.registry.NiFiRegistry NiFi Registry started without Bootstrap Port information provided; will not listen for requests from Bootstrap 2018-02-06 00:11:52,820 ERROR [main] org.apache.nifi.registry.NiFiRegistry Failure to launch NiFi Registry due to java.lang.NoClassDefFoundError: org/apache/nifi/registry/util/FileUtils java.lang.NoClassDefFoundError: org/apache/nifi/registry/util/FileUtils at org.apache.nifi.registry.NiFiRegistry.<init>(NiFiRegistry.java:97) ~[nifi-registry-runtime-0.1.0.jar:0.1.0] at org.apache.nifi.registry.NiFiRegistry.main(NiFiRegistry.java:158) ~[nifi-registry-runtime-0.1.0.jar:0.1.0] Caused by: java.lang.ClassNotFoundException: org.apache.nifi.registry.util.FileUtils at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_161] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_161] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) ~[na:1.8.0_161] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_161] ... 2 common frames omitted 2018-02-06 00:11:52,824 INFO [Thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2018-02-06 00:11:52,824 INFO [Thread-1] org.apache.nifi.registry.NiFiRegistry Jetty web server shutdown completed (nicely or otherwise).
Created 02-07-2018 05:46 PM
What JVM? JDK? Server platform? How did you install? Are you following this: https://github.com/apache/nifi-registry#getting-started or https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.0/bk_installing-hdf/content/ch_install-ambari...
Created 02-07-2018 05:52 PM
I have updated the question with details you need.
Created 02-07-2018 05:53 PM
I am thinking Windows is the issue, but I am checking.
Created 02-07-2018 05:54 PM
if you have cygwin https://www.cygwin.com/ you can try that. I am running it on OSX, Ubuntu and Centos fine.
Created 02-07-2018 05:58 PM
https://issues.apache.org/jira/browse/NIFIREG-140 - Windows is not supported as per requirements here: https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#system-requirements
Supported Operating Systems:
Created 02-08-2018 06:55 AM
Have you installed Nifi previously on the same machine? or Trying to upgrade?
Created 02-08-2018 02:25 PM
Nifi registry does not work on Windows as read me says