You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Arunkumar <Ar...@gmail.com> on 2018/09/12 14:57:00 UTC

Nifi creating directories on start?

Hi Folks,

Just wanted to understand why nifi is creating work, state, run directories
after we start (bin/nifi.sh start)?

Asking this question as we have a build system, which doesn't allow us to
create directories in runtime while deploying nifi. Are there any
workarounds or should we add permissions for the nifi directory for the
run-as-user of the environment or host? or am I missing something?

Thanks,
Arun



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Nifi creating directories on start?

Posted by Kevin Doran <kd...@gmail.com>.
Hi Arun,

Those are directories used by NiFi or its bootstrap service to store state. NiFi creates several directories and files on disk to save state while running, so it is expected the run-as-user has write access to the NiFi home directory and its sub-directories.

Hope this helps,
Kevin


On 9/12/18, 10:57, "Arunkumar" <Ar...@gmail.com> wrote:

    Hi Folks,
    
    Just wanted to understand why nifi is creating work, state, run directories
    after we start (bin/nifi.sh start)?
    
    Asking this question as we have a build system, which doesn't allow us to
    create directories in runtime while deploying nifi. Are there any
    workarounds or should we add permissions for the nifi directory for the
    run-as-user of the environment or host? or am I missing something?
    
    Thanks,
    Arun
    
    
    
    --
    Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/