You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Kevin Moulart <ke...@gmail.com> on 2013/12/23 14:54:04 UTC

Problem with mahout classpath after update

Hi I had mahout working on my cluster of VMs running cloudera CDH 4.4 and
ever since I updated to cloudera 4.5, it stopped working, as if it could
not find its classpath, despite all my attempts to fix it :
http://pastebin.com/5nxpqZEC

Can anyone tell me what I did wrong ?

Here is my .bashrc file :
export JAVA_HOME=/usr/java/jdk1.7.0_45
export HADOOP_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/
export
HADOOP_CMD=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/bin/hadoop
export
HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop/libexec
export
HADOOP_STREAMING=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapredu$
export
MAHOUT_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout
export
HADOOP_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapreduc$
export
MAHOUT_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout/conf

I'm open to any suggestion, and willing to provide you with any extra
informations.

(PS : The cluster is made of 3 VM running cloudera CDH4.5 on top of a
CENTOS 6.5 installation)

Thanks in advance

-- 
Kévin Moulart
GSM France : +33 7 81 06 10 10
GSM Belgique : +32 473 85 23 85
Téléphone fixe : +32 2 771 88 45

Re: Problem with mahout classpath after update

Posted by Kevin Moulart <ke...@gmail.com>.
Hi,

Thanks for the answer, I will check the version, althoug I did a yum update
so it should be the latest available.

Also while testing I just found out that the problem doesn't come from
Mahout itself but from hadoop. Everything I run using hadoop gives me the
same error : NoClassDefFoundError.

I rolled back to 4.4 for the moment, I'll check the version tomorrow when I
switch to the snapshot with the 4.5.


2013/12/23 Suneel Marthi <su...@yahoo.com>

> Which version of Mahout are you running, from ur pastebin stacktrace it
> seems like Mahout 0.7 (please upgrade to the latest version).
> Please upgrade to the latest version of Mahout.
>
>
>
>
>
>
>
> On Monday, December 23, 2013 8:59 AM, Kevin Moulart <
> kevinmoulart@gmail.com> wrote:
>
> Hi I had mahout working on my cluster of VMs running cloudera CDH 4.4 and
> ever since I updated to cloudera 4.5, it stopped working, as if it could
> not find its classpath, despite all my attempts to fix it :
> http://pastebin.com/5nxpqZEC
>
> Can anyone tell me what I did wrong ?
>
> Here is my .bashrc file :
> export JAVA_HOME=/usr/java/jdk1.7.0_45
> export HADOOP_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/
> export
> HADOOP_CMD=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/bin/hadoop
> export
>
> HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop/libexec
> export
>
> HADOOP_STREAMING=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapredu$
> export
> MAHOUT_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout
> export
>
> HADOOP_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapreduc$
> export
>
> MAHOUT_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout/conf
>
> I'm open to any suggestion, and willing to provide you with any extra
> informations.
>
> (PS : The cluster is made of 3 VM running cloudera CDH4.5 on top of a
> CENTOS 6.5 installation)
>
> Thanks in advance
>
> --
> Kévin Moulart
> GSM France : +33 7 81 06 10 10
> GSM Belgique : +32 473 85 23 85
> Téléphone fixe : +32 2 771 88 45
>



-- 
Kévin Moulart
GSM France : +33 7 81 06 10 10
GSM Belgique : +32 473 85 23 85
Téléphone fixe : +32 2 771 88 45

Re: Problem with mahout classpath after update

Posted by Suneel Marthi <su...@yahoo.com>.
Which version of Mahout are you running, from ur pastebin stacktrace it seems like Mahout 0.7 (please upgrade to the latest version).
Please upgrade to the latest version of Mahout.







On Monday, December 23, 2013 8:59 AM, Kevin Moulart <ke...@gmail.com> wrote:
 
Hi I had mahout working on my cluster of VMs running cloudera CDH 4.4 and
ever since I updated to cloudera 4.5, it stopped working, as if it could
not find its classpath, despite all my attempts to fix it :
http://pastebin.com/5nxpqZEC

Can anyone tell me what I did wrong ?

Here is my .bashrc file :
export JAVA_HOME=/usr/java/jdk1.7.0_45
export HADOOP_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/
export
HADOOP_CMD=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/bin/hadoop
export
HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop/libexec
export
HADOOP_STREAMING=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapredu$
export
MAHOUT_HOME=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout
export
HADOOP_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop-0.20-mapreduc$
export
MAHOUT_CONF_DIR=/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/mahout/conf

I'm open to any suggestion, and willing to provide you with any extra
informations.

(PS : The cluster is made of 3 VM running cloudera CDH4.5 on top of a
CENTOS 6.5 installation)

Thanks in advance

-- 
Kévin Moulart
GSM France : +33 7 81 06 10 10
GSM Belgique : +32 473 85 23 85
Téléphone fixe : +32 2 771 88 45