hadoop 下mahout canopy算法的问题 求助啊

gxnan5 2015-11-25 10:09:45
一直报这个错误 mahout版本换了几次 hadoop下面的包也改了好多次 实在找不出来了 跪求求大神指点
[hadoop@r1 mahout-distribution-0.7]$ bin/mahout canopy -i /test/datas/synthetic_control.data -o /test/datas/output -dm org.apache.mahout.common.distance.EuclideanDistanceMeasure -t1 300 -t2 50
Running on hadoop, using /usr/local/hadoop-0.20.2-cdh3u5/bin/hadoop and HADOOP_CONF_DIR=
MAHOUT-JOB: /usr/local/mahout-distribution-0.7/mahout-examples-0.7-job.jar
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop-0.20.2-cdh3u5/lib/mahout-examples-0.7-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop-0.20.2-cdh3u5/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
15/11/25 06:11:03 INFO common.AbstractJob: Command line arguments: {--distanceMeasure=[org.apache.mahout.common.distance.EuclideanDistanceMeasure], --endPhase=[2147483647], --input=[/test/datas/synthetic_control.data], --method=[mapreduce], --output=[/test/datas/output], --startPhase=[0], --t1=[300], --t2=[50], --tempDir=[temp]}
15/11/25 06:11:03 INFO canopy.CanopyDriver: Build Clusters Input: /test/datas/synthetic_control.data Out: /test/datas/output Measure: org.apache.mahout.common.distance.EuclideanDistanceMeasure@19339d3 t1: 300.0 t2: 50.0
15/11/25 06:11:06 INFO input.FileInputFormat: Total input paths to process : 1
15/11/25 06:11:07 INFO mapred.JobClient: Running job: job_201511250603_0001
15/11/25 06:11:08 INFO mapred.JobClient: map 0% reduce 0%
15/11/25 06:11:15 INFO mapred.JobClient: Task Id : attempt_201511250603_0001_m_000000_0, Status : FAILED
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:115)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:602)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
at org.apache.hadoop.mapred.Child$4.run(Child.java:266)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
at org.apache.hadoop.mapred.Child.main(Child.java:260)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.uti
...全文
10258 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

547

社区成员

发帖
与我相关
我的任务
社区描述
Cloud Foundry是业界第一个开源PaaS云平台,它支持多种框架、语言、运行时环境、云平台及应用服务,使开发人员能够在几秒钟内进行应用程序的部署和扩展,无需担心任何基础架构的问题。
社区管理员
  • Cloud Foundry社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧