You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "liuxian (JIRA)" <ji...@apache.org> on 2017/04/27 02:15:04 UTC

[jira] [Updated] (HADOOP-14358) NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: Native Library /usr/java/jdk/jre/lib/amd64/libhadoop.so already loaded in another classloader

     [ https://issues.apache.org/jira/browse/HADOOP-14358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liuxian updated HADOOP-14358:
-----------------------------
    Description: 
I am not sure whether this is a problem, in the "public final class NativeCodeLoader,  when "loadLibrary("hadoop")",  encounter this Exception. This time I want to confirm whether nativeCodeLoaded variables should be true

Log print as follows:
 Line 10307: 2017-04-26 19:06:51,459 DEBUG NativeCodeLoader: Trying to load the custom-built native-hadoop library...
        Line 10308: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: Native Library /usr/java/jdk/jre/lib/amd64/libhadoop.so already loaded in another classloader
        Line 10309: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
        Line 10310: 2017-04-26 19:06:51,460 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
       */

  was:
I am not sure whether this is a problem, in the "public final class NativeCodeLoader,  when "loadLibrary("hadoop")",  encounter this Exception.

Log print as follows:
 Line 10307: 2017-04-26 19:06:51,459 DEBUG NativeCodeLoader: Trying to load the custom-built native-hadoop library...
        Line 10308: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: Native Library /usr/java/jdk/jre/lib/amd64/libhadoop.so already loaded in another classloader
        Line 10309: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
        Line 10310: 2017-04-26 19:06:51,460 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
       */


>  NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: Native Library /usr/java/jdk/jre/lib/amd64/libhadoop.so already loaded in another classloader
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14358
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: liuxian
>
> I am not sure whether this is a problem, in the "public final class NativeCodeLoader,  when "loadLibrary("hadoop")",  encounter this Exception. This time I want to confirm whether nativeCodeLoaded variables should be true
> Log print as follows:
>  Line 10307: 2017-04-26 19:06:51,459 DEBUG NativeCodeLoader: Trying to load the custom-built native-hadoop library...
>         Line 10308: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: Native Library /usr/java/jdk/jre/lib/amd64/libhadoop.so already loaded in another classloader
>         Line 10309: 2017-04-26 19:06:51,460 DEBUG NativeCodeLoader: java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>         Line 10310: 2017-04-26 19:06:51,460 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
>        */



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org