Spring Hadoop Samples Mapreduce throw auxService:mapreduce_shuffle exception -
i following spring hadoop samples here , after trying run under mapreduce project:
$ mvn clean package $ sh ./target/appassembler/bin/wordcount
i got error:
17:42:55,067 info doop.yarn.client.api.impl.yarnclientimpl: 174 - submitted application application_1433091289740_0003 resourcemanager @ localhost/127.0.0.1:8032 17:42:55,095 info org.apache.hadoop.mapreduce.job:1272 - url track job: http://http://sjcc02mt0nufd58.local:8088/proxy/application_1433091289740_0003/ 17:42:55,096 info org.apache.hadoop.mapreduce.job:1317 - running job: job_1433091289740_0003 17:43:15,269 info org.apache.hadoop.mapreduce.job:1338 - job job_1433091289740_0003 running in uber mode : false 17:43:15,271 info org.apache.hadoop.mapreduce.job:1345 - map 0% reduce 0% 17:43:16,306 info org.apache.hadoop.mapreduce.job:1424 - task id : attempt_1433091289740_0003_m_000000_0, status : failed container launch failed container_1433091289740_0003_01_000002 : org.apache.hadoop.yarn.exceptions.invalidauxserviceexception: auxservice:mapreduce_shuffle not exist @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62)
i can run hadoop commands, such as: hdfs dfs -ls , hdfs dfs -put....,
can visit: http://localhost:50070/dfshealth.html#tab-datanode
but why exception happened?
make sure have following on yarn-site.xml
<property> <name>yarn.resourcemanager.hostname</name> <value>0.0.0.0</value> </property>
Comments
Post a Comment