Here tried to capture few details, on how to integrate Mahout with Eclipse over Mac OS?
############Get MAHOUT src for eclipse Integration#########
> cd [place where you got Eclipse workspace]
> svn co http://svn.apache.org/repos/asf/mahout/trunk
> mvn eclipse:eclipse
> #######Set $PATH in .bash_profile in "home"
echo $HADOOP_HOME
/Users/shota/Downloads/hadoop-1.2.1
echo $MAHOUT_HOME
/Users/shota/Downloads/mahout-distribution-0.9
In my case going to OVERWRITE to "trunk" physical location under ".bash_profile". Check to make sure point to correct Mahout home now?
echo $MAHOUT_HOME
/Users/shota/Documents/workspace/trunk
> mvn install [ie can take a while]
:
:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mahout Build Tools ................................ SUCCESS [1.526s]
[INFO] Apache Mahout ..................................... SUCCESS [0.340s]
[INFO] Mahout Math ....................................... SUCCESS [54.567s]
[INFO] Mahout Core ....................................... SUCCESS [11:04.491s]
[INFO] Mahout Integration ................................ SUCCESS [1:11.533s]
[INFO] Mahout Examples ................................... SUCCESS [15.172s]
[INFO] Mahout Release Package ............................ SUCCESS [0.011s]
[INFO] Mahout Math/Scala wrappers ........................ SUCCESS [34.278s]
[INFO] Mahout Spark bindings ............................. SUCCESS [2:00.803s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:03.167s
[INFO] Finished at: Fri Mar 28 09:47:43 EDT 2014
[INFO] Final Memory: 65M/1086M
[INFO] ------------------------------------------------------------------------
################TEST MAHOUT works?
> mahout
:
:
transpose: : Take the transpose of a matrix
validateAdaptiveLogistic: : Validate an AdaptivelogisticRegression model against hold-out data set
vecdist: : Compute the distances between a set of Vectors (or Cluster or Canopy, they must fit in memory) and a list of Vectors
vectordump: : Dump vectors from a sequence file to text
viterbi: : Viterbi decoding of hidden states from given output states sequence
Under Eclipse:
File > Import > Existing Maven Projects > [Browse where you got mahout trunk installed]
Once Finish, you need to restart Eclipse. Then you are good to go!
############Get MAHOUT src for eclipse Integration#########
> cd [place where you got Eclipse workspace]
> svn co http://svn.apache.org/repos/asf/mahout/trunk
> mvn eclipse:eclipse
> #######Set $PATH in .bash_profile in "home"
echo $HADOOP_HOME
/Users/shota/Downloads/hadoop-1.2.1
echo $MAHOUT_HOME
/Users/shota/Downloads/mahout-distribution-0.9
In my case going to OVERWRITE to "trunk" physical location under ".bash_profile". Check to make sure point to correct Mahout home now?
echo $MAHOUT_HOME
/Users/shota/Documents/workspace/trunk
> mvn install [ie can take a while]
:
:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mahout Build Tools ................................ SUCCESS [1.526s]
[INFO] Apache Mahout ..................................... SUCCESS [0.340s]
[INFO] Mahout Math ....................................... SUCCESS [54.567s]
[INFO] Mahout Core ....................................... SUCCESS [11:04.491s]
[INFO] Mahout Integration ................................ SUCCESS [1:11.533s]
[INFO] Mahout Examples ................................... SUCCESS [15.172s]
[INFO] Mahout Release Package ............................ SUCCESS [0.011s]
[INFO] Mahout Math/Scala wrappers ........................ SUCCESS [34.278s]
[INFO] Mahout Spark bindings ............................. SUCCESS [2:00.803s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:03.167s
[INFO] Finished at: Fri Mar 28 09:47:43 EDT 2014
[INFO] Final Memory: 65M/1086M
[INFO] ------------------------------------------------------------------------
################TEST MAHOUT works?
> mahout
:
:
transpose: : Take the transpose of a matrix
validateAdaptiveLogistic: : Validate an AdaptivelogisticRegression model against hold-out data set
vecdist: : Compute the distances between a set of Vectors (or Cluster or Canopy, they must fit in memory) and a list of Vectors
vectordump: : Dump vectors from a sequence file to text
viterbi: : Viterbi decoding of hidden states from given output states sequence
Under Eclipse:
File > Import > Existing Maven Projects > [Browse where you got mahout trunk installed]
Once Finish, you need to restart Eclipse. Then you are good to go!