mapred-site.xml配置错误问题

配置错误

修改了mapred-site.xml

mapreduce.framework.name
yarn

yarn-site.xml:

yarn.resourcemanager.hostname
Master


yarn.nodemanager.aux_services
mapreduce_shuffle

没有重启集群
使用hadoop dfsadmin -refreshNodes
执行程序:
hadoop jar ./myJAR/Q1SumDeptSalary.jar com.chb.dept_emp1.Q1SumDeptSalary hdfs://192.168.1.124:9000/input/in1/dept hdfs://192.168.1.124:9000/input/in1/emp hdfs://192.168.1.124:9000/output/out1

出现错误:
16/10/30 16:25:27 INFO mapreduce.Job: Task Id : attempt_1477814620602_0002_m_000000_2, Status : FAILED
Container launch failed for container_1477814620602_0002_01_000004 : org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:mapreduce_shuffle does not exist

由于yarn-site.xml文件配置错误,
yarn.nodemanager.aux_services
应该为 yarn.nodemanager.aux-services
注意中间是”-” 而不是”_”

Job job_1477816592523_0003 running in uber mode : false
参考: Uber模式参数(客户端配置)
http://www.tuicool.com/articles/yuE36f
http://www.iyunv.com/thread-31486-1-1.html

“`

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值