hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12638) UnsatisfiedLinkError while checking ISA-L in checknative command.
Date Tue, 15 Dec 2015 00:08:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057018#comment-15057018

Kai Zheng commented on HADOOP-12638:

Thanks Kai and all for reporting and fixing this!

bq. I don't think it's really practical to test every combination of native libraries installed
or not. It would be nice to have a minimum set of required native libraries to run Hadoop,
but that would be a difficult change to make at this point.
When HADOOP-12626 is done, the ISA-L building will happen by default as part of the building
native. As clarified by Chris and Allen in YETUS-222, we don't enumerate all combinations,
just invoke all the native features as possible.

> UnsatisfiedLinkError while checking ISA-L in checknative command.
> -----------------------------------------------------------------
>                 Key: HADOOP-12638
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12638
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 3.0.0
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>            Priority: Minor
>             Fix For: 3.0.0
>         Attachments: HADOOP-12638.01.patch
> {code}
> bash-4.1# bin/hadoop checknative
> 15/12/14 05:49:34 WARN bzip2.Bzip2Factory: Failed to load/initialize native-bzip2 library
system-native, will use pure-Java version
> 15/12/14 05:49:34 WARN zlib.ZlibFactory: Failed to load/initialize native-zlib library
> Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsIsal()Z
> 	at org.apache.hadoop.util.NativeCodeLoader.buildSupportsIsal(Native Method)
> 	at org.apache.hadoop.io.erasurecode.ErasureCodeNative.<clinit>(ErasureCodeNative.java:41)
> 	at org.apache.hadoop.util.NativeLibraryChecker.main(NativeLibraryChecker.java:98)
> {code}
> It seems to be caused by unhandled exception thrown by {{NativeCodeLoader.isNativeCodeLoader}}.

> Env: Ubuntu 14.04 LTS

This message was sent by Atlassian JIRA

View raw message