[
https://issues.apache.org/jira/browse/HADOOP-12638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056726#comment-15056726
]
Colin Patrick McCabe commented on HADOOP-12638:
-----------------------------------------------
Hi [~steve_l], thanks for finding this. And thanks for fixing it, [~kaisasak].
I believe that our Jenkins tests only test the configuration where the bzip2
native library is installed and functional. So that's why this didn't show up
in testing. Unfortunately, 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.
+1 for the fix
> 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: 2.7.1
> Reporter: Kai Sasaki
> Assignee: Kai Sasaki
> Priority: Minor
> 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
(v6.3.4#6332)