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

Warren Smith commented on NIFI-6887:
------------------------------------

I know this is an old ticket, but for my edification, this error occurs in one 
of two scenarios:
 * 'noexec' is configured on /tmp (or wherever java.io.tmpdir points). The 
deployment activity depends on executing code in /tmp as that is where snappy 
is unpacked.
 * Running NiFi on arm USED to cause this as the native libraries were not 
available on that platform.

The workarounds are:
 * remount /tmp with 'exec', or change where java.io.tmpdir points
 * Run on x86_64 platform.

 

> Snappy Error: Failed to load native library
> -------------------------------------------
>
>                 Key: NIFI-6887
>                 URL: https://issues.apache.org/jira/browse/NIFI-6887
>             Project: Apache NiFi
>          Issue Type: Bug
>         Environment: os: rhel:7.6
> architecture: ppc64le
>            Reporter: AK97
>            Priority: Major
>         Attachments: nifi-hive-nar.rtf
>
>
> I have been trying to build the Apache Nifi on rhel_7.6/ppc64le, however it 
> leads to "nifi-hive-nar" sub-module failure giving the following error:
> [ERROR] Could not generate extensions' documentation
> org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native 
> library is found for os.name=Linux and os.arch=ppc64le.
> Please find attached the log for build failures.
> {color:#172b4d}Would like some help on understanding the cause for the same . 
> I am running it on a High end VM with good connectivity.{color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to