You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Ajay Anandan <an...@ualberta.ca> on 2011/02/23 06:12:11 UTC

Reg:Hadoop issue

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.

Re: Reg:Hadoop issue

Posted by Ted Dunning <te...@gmail.com>.
Sean is right.

One quick hint is to look at the architecture of your native libraries.  Do
you have both intel and amd versions of the native libraries?

On Wed, Feb 23, 2011 at 12:01 AM, Sean Owen <sr...@gmail.com> wrote:

> This seems like a Hadoop question, rather than Mahout. I bet you'd
> have much more luck on that mailing list.
>
> On Wed, Feb 23, 2011 at 5:12 AM, Ajay Anandan <an...@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.
> >
>

Re: Reg:Hadoop issue

Posted by Sean Owen <sr...@gmail.com>.
This seems like a Hadoop question, rather than Mahout. I bet you'd
have much more luck on that mailing list.

On Wed, Feb 23, 2011 at 5:12 AM, Ajay Anandan <an...@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.
>