Run Mahout In Galles

Courtesy from Daniel Waybright

To get Mahout running, you need to set two environment variables. To do so automatically, use nano or favorite editing program and do the following:

 galles163:~> nano ~/.tcshrc

Then place these two lines inside of it:

 setenv JAVA_HOME /usr/lib/jvm/java-6-sun-
 setenv HADOOP_PREFIX /usr/local/hadoop

Now load the environment variables (you only need to do this for this login, should be automatic for all following logins)

 galles163:~> source ~/.tcshrc

Now test that Mahout and Hadoop are talking nicely

 galles163:~> /usr/local/mahout/bin/mahout