Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Problem testing mahout

Highlighted

Problem testing mahout

Explorer

hi,

 

I have configured a cluster hadoop using cloudera.

I created a 4 nodes cluster.

I did the following commands to get mahout :

1- set Java_HOME in /etc/profile:  

export JAVA_HOME=/usr/java//usr/java/jdk1.7.0_67-cloudera

 export PATH=$PATH:$JAVA_HOME/bin

export CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar

 

2-Installed the project maven: 

$ wget http://mirror.cc.columbia.edu/pub/software/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bi...
$ sudo tar xzf apache-maven-3.0.5-bin.tar.gz -C /usr/local
$ cd /usr/local
$ sudo ln -s apache-maven-3.0.5 maven

 

3-set up Maven path system-wide:

sudo vi /etc/profile.d/maven.sh

export M2_HOME=/usr/local/maven

export PATH=${M2_HOME}/bin:${PATH}

 

4- Download Apache Mahout tarball and unpack it

 

5-compile the code using Maven :

$ cd mahout-0.9-cdh5.3.1 /

$ mvn install

 

6-Set mahout_home:

Export MAHOUT_HOME=/mahout-0.9-cdh5.3.1/bin

export PATH=$PATH:$MAHOUT_HOME

 

and then when i try to test it by doing this command:

./mahout-0.9-cdh5.3.1/examples/bin/classify-20newgroups

 

i get the following exception:

error.PNG

 

Did i miss something ?

 

1 REPLY 1
Highlighted

Re: Problem testing mahout

Master Collaborator

You did not provide any error.

Don't have an account?
Coming from Hortonworks? Activate your account here