[ 
https://issues.apache.org/jira/browse/NIFI-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613217#comment-14613217
 ] 

Bryan Bende commented on NIFI-743:
----------------------------------

I think if OnRemoved won't be called, then Mark's suggestion to avoid creating 
the files all together is the way to go... so moving the code that creates the 
files from OnShutdown to OnStopped should work.

Adding the OnRemoved methods that clean up is still a good thing, since it will 
clean up when processors are removed while the application is running, but 
maybe it should be a separate ticket?

> .getSolr-mock-processor and .httpCache-mock-processor files in conf dir
> -----------------------------------------------------------------------
>
>                 Key: NIFI-743
>                 URL: https://issues.apache.org/jira/browse/NIFI-743
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>            Reporter: Mark Payne
>            Assignee: Bryan Bende
>             Fix For: 0.2.0
>
>         Attachments: NIFI-743.patch
>
>
> I'm not sure where these are coming from but when I do a clean build, I'm 
> ending up with 2 files in the conf/ directory that shouldn't be there: 
> ".httpCache-mock-processor" and ".getSolr-mock-processor".
> Not sure if these were created when I did the build or when I launched the 
> application, but either way they shouldn't be there.



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

Reply via email to