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

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

Bryan Bende created NIFI-3589:
---------------------------------

             Summary: 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


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)