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.

Hi ,Is it possible to run mahout algorithms and launch jobs in hadoop directly from eclipse??

Solved Go to solution

Hi ,Is it possible to run mahout algorithms and launch jobs in hadoop directly from eclipse??

New Contributor

Hi ,

 

     I am trying to run mahout algorithms from eclipse into hadoop. Is it possible to do that. Is it possible to run map/reduce jobs into hadoop from eclipse. Any plygibn available or can it be achieved through anyother means? Thanks in advance.

 

Regards,

Deva

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hi ,Is it possible to run mahout algorithms and launch jobs in hadoop directly from eclipse??

Master Collaborator

Yes you should be able to run the "Driver" classes like any other program, from within Eclipse. You can specify command line arguments and so on in the usual way. I think you will need to make sure that the env variable HADOOP_HOME is set in order for the program to find your Hadoop config though. Really it is no different on CDH than anywhere else, so any resource you find on the internet to these effects will be valid.

2 REPLIES 2

Re: Hi ,Is it possible to run mahout algorithms and launch jobs in hadoop directly from eclipse??

Master Collaborator

Yes you should be able to run the "Driver" classes like any other program, from within Eclipse. You can specify command line arguments and so on in the usual way. I think you will need to make sure that the env variable HADOOP_HOME is set in order for the program to find your Hadoop config though. Really it is no different on CDH than anywhere else, so any resource you find on the internet to these effects will be valid.

Re: Hi ,Is it possible to run mahout algorithms and launch jobs in hadoop directly from eclipse??

New Contributor

Hi Sowen,

 

            I tried and it is working. Thank you.

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