[
https://issues.apache.org/jira/browse/NIFI-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated NIFI-3589:
------------------------------
Attachment: NIFI-3589.patch
Patch adds a new MANIFEST entry called "Clone-During-Instance-Class-Loading"
which defaults to false and can be set by specifying
cloneDuringInstanceClassLoading as a property in the pom.
> 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)