阅读背景:

Exception in thread "main" java.io.IOException: Failed to set permissions of path

来源:互联网 

在跑BuildForest的时候,编写了下面的程序:

 

package test.breiman;

import org.apache.mahout.classifier.df.mapreduce.BuildForest;
/**
 * BuildForecast测试类
 * @author fansy
 */
public class BuildForestFollow {
	public static void main(String[] args) throws Exception{
		String[] arg=new String[]{
				"-d","hdfs://ubuntu:9000/user/breiman/input/glass.data",
				"-ds","hdfs://ubuntu:9000/user/breiman/glass.info",
				"-sl","5",
				"-p",
				"-t","10",
				"-o","hdfs://ubuntu:9000/user/mahout/output-forest1"
		};
		BuildForest.main(arg);
	}
}
package test.b



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: