[ 
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. 
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
       */


>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to