在尝试运行随机森林示例时,我得到了以下错误-
hadoop 0.9-Job.jar org.apache.mahout.classifier.df.tools.Describe -p testdata/KDDTrain+..arff-f testdata/kDD列车+..info -d N3 C2 C4 N4 N8 N2 C19 N我遇到以下错误:警告tools.Describe: org.apache.commons.cli2.OptionException:意外异常?p在处理选项使用时: [路径.文件描述符. -回归--帮助] 选项 -路径(-p)路径数据路径 -文件(-f)文件路径到生成的描述符文件 -描述符(-d)描述符数据描述符 -回归(-r)回归问题 -帮助(-h)打印帮助
有人能帮我吗?
发布于 2015-03-18 11:17:02
that is typo mistake. its -p in your command.but it look something different(i think you paste it in command prompt)
command like this:
hadoop jar /usr/lib/mahout/mahout-examples-0.7-cdh4.6.0-job.jar org.apache.mahout.classifier.df.tools.Describe -p /user/root/mahout/rinput.csv -f /user/root/mahout/rinput.info -d I 9 N L 只是放在p前面
https://stackoverflow.com/questions/29117532
复制相似问题