Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to launch NiFi anymore : org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file

Unable to launch NiFi anymore : org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file

My NiFi was working fine until today (After my laptop hanged and I restarted it). Now NiFi is unable to launch and gives below error -

As of now I tried below -

1. Deleted content, database, flowfile and provenance repository and restart NiFi - Did not help

2. Restart my machine - Did not help

3. Uninstalled jre and installed jdk - Did not help ( It was working fine when I had jre until today)

My current jdk location is C:\Program Files\Java\jdk-13.0.2

I am using nifi-1.11.0

 

 

********************************************************************

2020-02-15 01:21:04,851 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...

2020-02-15 01:21:04,852 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0

2020-02-15 01:21:04,852 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Progra~1\Java\jdk-13.0.2\bin\java.exe -classpath C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\conf;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\jcl-over-slf4j-1.7.26.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\jetty-schemas-3.1.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\jul-to-slf4j-1.7.26.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\log4j-over-slf4j-1.7.26.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\logback-classic-1.2.3.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\logback-core-1.2.3.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\nifi-api-1.11.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\nifi-framework-api-1.11.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\nifi-nar-utils-1.11.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\nifi-properties-1.11.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\nifi-runtime-1.11.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\slf4j-api-1.7.26.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\java11\javax.activation-api-1.2.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\java11\javax.annotation-api-1.3.2.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\java11\jaxb-api-2.3.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\java11\jaxb-core-2.3.0.jar;C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\lib\java11\jaxb-impl-2.3.0.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 -Dzookeeper.admin.enableServer=false -Dnifi.properties.file.path=C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=65326 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\Users\503067~1\Desktop\IDP_PR~1\NIFI-1~1.0\bin\..\\logs 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:/Users/503067805/Desktop/IDP_Project/nifi-1.11.0/lib/bootstrap/nifi-bootstrap-1.11.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

2020-02-15 01:21:04,879 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\Users\503067~1\Desktop\IDP_PR~1\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

2020-02-15 01:21:04,888 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file C:\Users\503067~1\Desktop\IDP_PR~1\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

2020-02-15 01:21:04,894 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 8552

 

Don't have an account?
Coming from Hortonworks? Activate your account here