Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apache Mahout. Prerequisites for Building MAHOUT Java JDK 1.6 Maven 3.0 or higher ( ).http://maven.apache.org/ Subversion (optional)

Similar presentations


Presentation on theme: "Apache Mahout. Prerequisites for Building MAHOUT Java JDK 1.6 Maven 3.0 or higher ( ).http://maven.apache.org/ Subversion (optional)"— Presentation transcript:

1 Apache Mahout

2 Prerequisites for Building MAHOUT Java JDK 1.6 Maven 3.0 or higher ( http://maven.apache.org/ ).http://maven.apache.org/ Subversion (optional) Hadoop (used by Mahout) Mahout (0.9)

3 Install maven 3 1. Open terminal ( Ctrl + Alt + T ). 2. Install maven 3. sudo apt-get install maven 3. 3. Verify that the installation is successful. mvn -v

4 ssh-key Setup ssh server – $sudo apt-get install openssh-server Setup Public/private key for accessing server without passwd – $ssh-keygen –t rsa – $cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys – $ssh localhost – $exit

5 Hadoop To install Hadoop on your local box, go to http://www.apache.org/dyn/closer.cgi/hadoop /common/ and download hadoophttp://www.apache.org/dyn/closer.cgi/hadoop /common/ Uncompress the archive: tar xvfz hadoop-1.1.2-bin.tar.gz Edit the file conf/hadoop-env.sh and add the following line: export JAVA_HOME=

6 Hadoop To configure HDFS, edit the file conf/core- site.xml and add the following property in configuration: fs.default.name hdfs://localhost:9000

7 Hadoop Then format the HDFS filesystem: hadoop namenode -format Run hadoop start-all.sh

8 Mahout Change the directory where mahout is located cd mahout Build mahout mvn install

9 Mahout

10 Test copy the file u.data to HDFS: To run the mahout recommender, type:

11 Test

12 Output

13


Download ppt "Apache Mahout. Prerequisites for Building MAHOUT Java JDK 1.6 Maven 3.0 or higher ( ).http://maven.apache.org/ Subversion (optional)"

Similar presentations


Ads by Google