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

Mark Payne commented on NIFI-404:
---------------------------------

[~devriesb] the simple answer is that you should be able to just put the 
required native libraries in your nar in a directory named "native". Then, any 
native library that is loaded will be loaded from there if it is loaded from 
within your nar's ClassLoader.

Thanks
-mark

> Update developer guide to explain the NAR's Native Library isolation in 
> addition to ClassLoader isolation
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-404
>                 URL: https://issues.apache.org/jira/browse/NIFI-404
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Documentation & Website
>            Reporter: Mark Payne
>
> Need to explain that native libraries existing in the native/ directory are 
> isolated to that NAR and explain how to add native libraries to that 
> directory via Maven.
> Our documentation for how the NAR Classloader works and its purpose does not 
> clearly call out the limitations. For example, if one wants to use some 
> version of Jetty or logback can they? How so? We need to show a clear diagram 
> of how the NAR classloading works and so on so folks can more readily reason 
> over it.
> NAR stuff is very powerful and helpful but today it is a bit too magical 
> without this complete documentation.



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

Reply via email to