我已经安装了Apache nifi-1.8.0。我有JDK-11.0.2安装在我的电脑。
我已经放置在路径 Cougar Mountain / Lakemont as "Northwest Bellevue",
Northwest Bellevue as "West Bellevue",
West Bellevue as "Bridle Trails"... so on
与Nifi夹C:\Demo\nifi-1.8.0
在路径jdk
。
我无法启动Apache nifi。
C:\ Demo \ nifi-1.8.0 \ bin> run-nifi.bat
当我运行上述运行nifi命令我得到下面的错误:
C:\Java
在nifi-BOOTSTRAP.LOG,我得到以下错误:
2019-02-02 11:28:10,983 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2019-02-02 11:28:10,983 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\Demo\NIFI-1~1.0
2019-02-02 11:28:10,983 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Java\jdk-11.0.2\bin\java.exe -classpath C:\Demo\NIFI-1~1.0\.\conf;C:\Demo\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\Demo\NIFI-1~1.0\.\lib\jcl-over-slf4j-1.7.25.jar;C:\Demo\NIFI-1~1.0\.\lib\jetty-schemas-3.1.jar;C:\Demo\NIFI-1~1.0\.\lib\jul-to-slf4j-1.7.25.jar;C:\Demo\NIFI-1~1.0\.\lib\log4j-over-slf4j-1.7.25.jar;C:\Demo\NIFI-1~1.0\.\lib\logback-classic-1.2.3.jar;C:\Demo\NIFI-1~1.0\.\lib\logback-core-1.2.3.jar;C:\Demo\NIFI-1~1.0\.\lib\nifi-api-1.8.0.jar;C:\Demo\NIFI-1~1.0\.\lib\nifi-framework-api-1.8.0.jar;C:\Demo\NIFI-1~1.0\.\lib\nifi-nar-utils-1.8.0.jar;C:\Demo\NIFI-1~1.0\.\lib\nifi-properties-1.8.0.jar;C:\Demo\NIFI-1~1.0\.\lib\nifi-runtime-1.8.0.jar;C:\Demo\NIFI-1~1.0\.\lib\slf4j-api-1.7.25.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -XX:+UseG1GC -Dnifi.properties.file.path=C:\Demo\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=52205 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\Demo\NIFI-1~1.0\bin\..\\logs --add-modules=java.xml.bind org.apache.nifi.NiFi
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.nifi.bootstrap.util.OSUtils (file:/C:/Demo/nifi-1.8.0/lib/bootstrap/nifi-bootstrap-1.8.0.jar) to method java.lang.ProcessImpl.pid()
WARNING: Please consider reporting this to the maintainers of org.apache.nifi.bootstrap.util.OSUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-02-02 11:28:11,093 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\Demo\NIFI-1~1.0\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-02-02 11:28:11,140 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file C:\Demo\NIFI-1~1.0\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-02-02 11:28:11,202 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 7500