The auxService:mapreduce_shuffle does not exist

和自甴很熟 提交于 2019-12-11 03:16:02

问题


When I am trying to run the below command:

# sqoop import --connect jdbc:mysql://IP Address/database --username root --password PASSWORD --table table_name --m 1

for importing the data from mysql database to HDFS, I am getting the error:

The auxService:mapreduce_shuffle does not exist.

Searched and browsed many sites, nothing helped.

How to get rid of this issue? Please let me know if any more inputs are required.


回答1:


Its an entry that you are missing in yarn-site.xml. Apply those entries in both namenodes and datanodes. If you read this http://dataheads.wordpress.com/2013/11/21/hadoop-2-setup-on-64-bit-ubuntu-12-04-part-1/ , you will see that yarn-site.xml must have this entries:

 <property>
     <name>yarn.nodemanager.aux-services</name>
    <value>mapreduce_shuffle</value>
  </property>
  <property>
    <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
    <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  </property>

Be careful when you write aux-services, because the "-" in the middle it's probably getting you that problem.



来源:https://stackoverflow.com/questions/26381540/the-auxservicemapreduce-shuffle-does-not-exist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!