Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to install mahout on a cluster hadoop using CDH 5.3

avatar
Explorer

hi,

 

I have configured a cluster hadoop using cloudera.

I created a 4 nodes cluster.

and now i want to install mahout can anyone give me a step by step instruction on how to install Mahout on this cluster?

 

Thanks in advance

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

No, it's not something you really install. It's a library. However I think you'll find the binaries already exist on all the nodes in your cluster anyway.

View solution in original post

7 REPLIES 7

avatar
Master Collaborator

Mahout is already shipped with CDH. It's not something you really install; it's a library. Can you say any more about the problem you are facing?

avatar
Explorer
Hi,
Thank you for your answer.
I added the library mahout but when i type the command : mahout it says:
mahout_local is not set adding hadoop_conf_dir to classpath
How can i set the mahout local variable ?

avatar
Master Collaborator

It's just an env variable; you can always "export VARIABLE=VALUE" in the shell.

But this message is not an error. In fact you want to see this if you intend to run on a cluster.

avatar
Explorer
I want the program to run in Hadoop filesystem. How do I unset MAHOUT_LOCAL
to do so?

avatar
Master Collaborator

In bash for example: unset VARIABLE

 

avatar
Explorer
I know that it is a dumb question but someone have to ask it.. should i add
the mahout library in slaves too ?

avatar
Master Collaborator

No, it's not something you really install. It's a library. However I think you'll find the binaries already exist on all the nodes in your cluster anyway.