0

我下载了最新的带有 Java 8 的 Apache NiFi。一旦我在 cmd 中运行 run-nifi.bat 文件,它就会运行几秒钟并退出程序。当我检查日志时,它给了我以下错误:

2021-11-18 20:08:51,423 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
    at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)
    at org.xerial.snappy.Snappy.<clinit>(Snappy.java:48)
    at org.apache.nifi.processors.hive.PutHiveStreaming.<clinit>(PutHiveStreaming.java:158)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)
    at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)
    at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)
    at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)
    at org.apache.nifi.NiFi.<init>(NiFi.java:170)
    at org.apache.nifi.NiFi.<init>(NiFi.java:82)
    at org.apache.nifi.NiFi.main(NiFi.java:331)
2021-11-18 20:08:51,425 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2021-11-18 20:08:51,426 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).

知道如何解决此错误吗?

4

0 回答 0