[ 
https://issues.apache.org/jira/browse/NIFI-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-1500:
------------------------------
    Fix Version/s:     (was: 1.1.0)

> NiFi requires too much write permissions to bootstrap
> -----------------------------------------------------
>
>                 Key: NIFI-1500
>                 URL: https://issues.apache.org/jira/browse/NIFI-1500
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.5.0
>            Reporter: Andre
>
> As part of NIFI-1461 it was observed that NiFi boot strapping and start up 
> process require access that may be described as excessive.
> The following access requirements should be reviewed (all paths are relative 
> to NiFi's installation path):
> h4. -Issue 1 - {{bin/nifi.sh}} requires write access to {{bin}}-
> -Access is used to write {{nifi.pid}}-
> h4. Issue 2 - NiFi requires write access to {{lib}} crashing otherwise
> {code}
> 2016-02-11 13:00:35,497 INFO [main] org.apache.nifi.NiFi Launching NiFi...
> 2016-02-11 13:00:35,524 INFO [main] org.apache.nifi.BootstrapListener Started 
> Bootstrap Listener, Listening for incoming requests on port 52097
> 2016-02-11 13:00:35,545 INFO [main] org.apache.nifi.BootstrapListener 
> Successfully initiated communication with Bootstrap
> 2016-02-11 13:00:35,555 WARN [main] org.apache.nifi.nar.NarUnpacker Unable to 
> load NAR library bundles due to java.io.IOException: 
> /opt/nifi/nifi-0.5.0-SNAPSHOT/./lib directory does not have read/write 
> privilege Will proceed without loading any further Nar bundles
> 2016-02-11 13:00:35,559 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi due to java.lang.IllegalStateException: Unable to find the framework NAR 
> ClassLoader.
> java.lang.IllegalStateException: Unable to find the framework NAR ClassLoader.
>         at org.apache.nifi.NiFi.<init>(NiFi.java:116) 
> ~[nifi-runtime-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
>         at org.apache.nifi.NiFi.main(NiFi.java:227) 
> ~[nifi-runtime-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> 2016-02-11 13:00:35,561 INFO [Thread-1] org.apache.nifi.NiFi Initiating 
> shutdown of Jetty web server...
> 2016-02-11 13:00:35,561 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server 
> shutdown completed (nicely or otherwise).
> {code}
> h4. Issue 3 - NiFi requires write access to {{conf}} 
> Access is used by the process to save {{flows.xml.gz}} and to create 
> {{templates}} and {{archives}} upon first start.
> h4. Issue 4 - NiFi requires write access to {{.}} 
> Application uses access upon first start to create the following directories:
> - \*_repositories;
> - logs;
> - state;
> - work;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to