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

Allen Wittenauer commented on HADOOP-7097:
------------------------------------------

Are you actually running it out of the build directory?  If so, that's the 
problem.

> java.library.path missing basedir
> ---------------------------------
>
>                 Key: HADOOP-7097
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7097
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, native
>    Affects Versions: 0.22.0
>         Environment: Ubuntu 10.10
>            Reporter: Noah Watkins
>            Priority: Blocker
>             Fix For: 0.22.0
>
>
> My Hadoop installation is  having trouble loading the native code library. It 
> appears from the log below that java.library.path is missing the basedir in 
> its path. The libraries are built, and present in the directory shown below 
> (relative to hadoop-common directory). Instead of seeing:
>  /build/native/Linux-amd64-64/lib
> I would expect to see:
>  /path/to/hadoop-common/build/native/Linux-amd64-64/lib
> I'm working in branch-0.22.
> 2011-01-10 17:09:27,695 DEBUG org.apache.hadoop.util.NativeCodeLoader: Failed 
> to load native-hadoop with error: java.lang.UnsatisfiedLinkError: no hadoop 
> in java.library.path
> 2011-01-10 17:09:27,695 DEBUG org.apache.hadoop.util.NativeCodeLoader: 
> java.library.path=/build/native/Linux-amd64-64/lib
> 2011-01-10 17:09:27,695 WARN org.apache.hadoop.util.NativeCodeLoader: Unable 
> to load native-hadoop library for your platform... using builtin-java classes 
> where applicable

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to