Loaded template cache

2020-04-16 Thread William Gosse
Before  I start up Nifi I removed all the _repository folders in order to 
remove any remnant data such as flow files in queues. One thing I notice that 
doesn’t get cleared up are old copies of the loaded templates. I have to use 
nifi’s api to do that.

Is there place where the loaded templates data is being cached on the file 
system that could be cleaned up before start up?


Re: Loaded template cache

2020-04-16 Thread Bryan Bende
Hello,

Templates belong to a process group so that they can be protected with the
same access policies as the group they belong to.

As a result, they are stored in flow.xml.gz inside their containing process
group.

Thanks,

Bryan

On Thu, Apr 16, 2020 at 4:52 PM William Gosse 
wrote:

> Before  I start up Nifi I removed all the _repository folders in order to
> remove any remnant data such as flow files in queues. One thing I notice
> that doesn’t get cleared up are old copies of the loaded templates. I have
> to use nifi’s api to do that.
>
>
>
> Is there place where the loaded templates data is being cached on the file
> system that could be cleaned up before start up?
>


RE: Loaded template cache

2020-04-16 Thread William Gosse
Can be safely removed before startup?  Will it get regenerated?

From: Bryan Bende 
Sent: Thursday, April 16, 2020 5:03 PM
To: users@nifi.apache.org
Subject: Re: Loaded template cache

[CAUTION: This email originated from outside of Kodak Alaris. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.]

Hello,

Templates belong to a process group so that they can be protected with the same 
access policies as the group they belong to.

As a result, they are stored in flow.xml.gz inside their containing process 
group.

Thanks,

Bryan

On Thu, Apr 16, 2020 at 4:52 PM William Gosse 
mailto:william.go...@aifoundry.com>> wrote:
Before  I start up Nifi I removed all the _repository folders in order to 
remove any remnant data such as flow files in queues. One thing I notice that 
doesn’t get cleared up are old copies of the loaded templates. I have to use 
nifi’s api to do that.

Is there place where the loaded templates data is being cached on the file 
system that could be cleaned up before start up?


Re: Loaded template cache

2020-04-16 Thread Bryan Bende
If you don’t care about your flow and are trying to start completely fresh
then yes it can be removed.

On Thu, Apr 16, 2020 at 5:20 PM William Gosse 
wrote:

> Can be safely removed before startup?  Will it get regenerated?
>
>
>
> *From:* Bryan Bende 
> *Sent:* Thursday, April 16, 2020 5:03 PM
> *To:* users@nifi.apache.org
> *Subject:* Re: Loaded template cache
>
>
>
> [CAUTION: This email originated from outside of Kodak Alaris. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.]
> --
>
> Hello,
>
>
>
> Templates belong to a process group so that they can be protected with the
> same access policies as the group they belong to.
>
>
>
> As a result, they are stored in flow.xml.gz inside their containing
> process group.
>
>
>
> Thanks,
>
>
>
> Bryan
>
>
>
> On Thu, Apr 16, 2020 at 4:52 PM William Gosse 
> wrote:
>
> Before  I start up Nifi I removed all the _repository folders in order to
> remove any remnant data such as flow files in queues. One thing I notice
> that doesn’t get cleared up are old copies of the loaded templates. I have
> to use nifi’s api to do that.
>
>
>
> Is there place where the loaded templates data is being cached on the file
> system that could be cleaned up before start up?
>
> --
Sent from Gmail Mobile