Setup Mahout

Mahout is a Scalable machine learning and data mining library. This post introduce how to setup Mahout

  1. Setup Mahout by checking out Mahout from GitHub

    su - root
    cd /opt
    git clone https://github.com/apache/mahout.git mahout
    chown -R hadoop /opt/mahout
    
  2. Environment Variables for Mahout

    export MAHOUT_HOME=/path/to/mahout
    export MAHOUT_LOCAL=true # for running standalone on your dev machine, unset MAHOUT_LOCAL for running on a cluster
    # if you are running on Spark you will also need $SPARK_HOME
    
  3. Reload .bash_profile

    source $HOME/.bash_profile
    

Comments

Popular posts from this blog

Reduce TIME_WAIT Socket Connections