Support Questions
Find answers, ask questions, and share your expertise

How to install mahout on a cluster hadoop using CDH 5.3

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

Accepted Solutions

Re: How to install mahout on a cluster hadoop using CDH 5.3

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

Re: How to install mahout on a cluster hadoop using CDH 5.3

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?

Re: How to install mahout on a cluster hadoop using CDH 5.3

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 ?

Re: How to install mahout on a cluster hadoop using CDH 5.3

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.

Re: How to install mahout on a cluster hadoop using CDH 5.3

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

Re: How to install mahout on a cluster hadoop using CDH 5.3

Master Collaborator

In bash for example: unset VARIABLE

 

Re: How to install mahout on a cluster hadoop using CDH 5.3

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

Re: How to install mahout on a cluster hadoop using CDH 5.3

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