How do I build/run this simple Mahout program without getting exceptions?

前端 未结 4 1032
走了就别回头了
走了就别回头了 2020-11-30 04:21

I would like to run this code which I found in Mahout In Action:

package org.help;

import java.io.IOException;
import java.util.ArrayList;
import java.util.         


        
4条回答
  •  遥遥无期
    2020-11-30 04:58

    if you will take code for examples from https://github.com/tdunning/MiA repository, then it contains ready to use pom.xml file for Maven. And when you compile code with mvn package, then it will create mia-0.1-job.jar in the target directory - this archive contains all dependencies, except Hadoop's, so you can run it on Hadoop cluster without problems

提交回复
热议问题