On Wed, Feb 23, 2011 at 11:21 AM, Todd Lipcon <t...@cloudera.com> wrote:
> Hi Ajay, > > Hadoop should ship with built artifacts for amd64 in > the lib/native/Linux-amd64-64/ subdirectory of your tarball. You just need > to put this directory on your java.library.path system property. > > -Todd > > You need to run "ant -Dcompile.native=1 compile-native" fro > > err, disregard this postscript. Started writing how to compile it, and then realized we actually ship built artifacts :) > > On Tue, Feb 22, 2011 at 9:14 PM, Ajay Anandan <anan...@ualberta.ca> wrote: > >> Hi, >> I am using the kmeans clustering in mahout. It ran fine in my 32 bit >> machine. But when I try to run it in another 64 bit machine I get the >> following error: >> >> *org.apache.hadoop.util.NativeCodeLoader <clinit> >> WARNING: Unable to load native-hadoop library for your platform... using >> builtin-java classes where applicable >> >> * >> I built my native libraries in hadoop. My project uses the hadoop core >> jar >> file alone. The algorithm does not run distributively over hadoop but >> runs >> only in one system. I am not using the parallelizing capacity of hadoop >> yet. >> I am getting the error when using methods in >> hadoop.util.NativeCodeLoader. >> >> >> Can somebody help me to build the native libraries? >> >> I am using ubuntu 64 bit version on a amd processor. >> >> >> -- >> Sincerely, >> Ajay Anandan. >> MSc,Computing Science, University of Alberta. >> > > > > -- > Todd Lipcon > Software Engineer, Cloudera > -- Todd Lipcon Software Engineer, Cloudera