You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Gilman (JIRA)" <ji...@apache.org> on 2017/03/13 18:17:41 UTC

[jira] [Commented] (NIFI-3589) Allow a NAR to specify that it's resources should be cloned

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

Matt Gilman commented on NIFI-3589:
-----------------------------------

Will review...

> Allow a NAR to specify that it's resources should be cloned
> -----------------------------------------------------------
>
>                 Key: NIFI-3589
>                 URL: https://issues.apache.org/jira/browse/NIFI-3589
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>             Fix For: nifi-nar-maven-plugin-1.2.0
>
>         Attachments: NIFI-3589.patch
>
>
> With the per-instance class loading that was introduced, a processor can get an isolated copy of the resources from it's NAR class loader. In some cases it requires isolating resources further down the class loader chain. One example being PutHDFS living in the nifi-hadoop-bundle which has a NAR dependency on nifi-hadoop-libraries.
> We should update the NAR Maven plugin to allow a NAR to indicate that it's resources should be cloned when using per-instance class loading. In the above example, nifi-hadoop-libraries-nar would indicate this through an entry in the MANIFEST.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)