Невозможно запустить Apache NiFi - java.io.FileNotFoundException - пристенный веб-сервер - PullRequest
0 голосов
/ 18 мая 2019

Невозможно запустить Apache NiFi - java.io.FileNotFoundException - jetty

Я скачал разархивированный Apache NiFi 1.9.2. При запуске (run-nifi.bat) NiFi возникают следующие ошибки: (файл MANIFEST.MF не существует в загруженном zip-файле)

nifi-app.log:
2019-05-18 11:00:23,822 INFO [main] org.apache.nifi.nar.NarUnpacker Expanding 104 NAR files with all processors...
2019-05-18 11:00:31,586 INFO [main] org.apache.nifi.nar.NarUnpacker NAR loading process took 7764754888 nanoseconds (7 seconds).
2019-05-18 11:00:33,007 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.io.FileNotFoundException: .\work\nar\extensions\nifi-jetty-bundle-1.9.2.nar-unpacked\META-INF\MANIFEST.MF (The system cannot find the file specified)
java.io.FileNotFoundException: .\work\nar\extensions\nifi-jetty-bundle-1.9.2.nar-unpacked\META-INF\MANIFEST.MF (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at org.apache.nifi.nar.NarBundleUtil.fromNarDirectory(NarBundleUtil.java:44)
    at org.apache.nifi.nar.NarClassLoaders.getNarDetails(NarClassLoaders.java:456)
    at org.apache.nifi.nar.NarClassLoaders.load(NarClassLoaders.java:162)
    at org.apache.nifi.nar.NarClassLoaders.init(NarClassLoaders.java:117)
    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:297)
2019-05-18 11:00:33,007 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2019-05-18 11:00:33,007 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).

nifi-bootstrap.log
2019-05-18 11:00:23,056 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 58236
2019-05-18 11:00:23,681 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read pid file c:\nifi\NIFI-1~1.2\bin\..\run\nifi.pid; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2019-05-18 11:00:23,713 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file c:\nifi\NIFI-1~1.2\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2019-05-18 11:00:23,744 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 55825
2019-05-18 11:00:33,210 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi
...