<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>
<property>
    <name>yarn.nodemanager.vmem-check-enabled</name>
     <value>false</value>
</property>
<property>
    <name>yarn.application.classpath</name>
     <value>
/home/soft/hadoop-2.7.4/etc/hadoop,
/home/soft/hadoop-2.7.4/share/hadoop/common/lib/*,
/home/soft/hadoop-2.7.4/share/hadoop/common/*,
/home/soft/hadoop-2.7.4/share/hadoop/hdfs,
/home/soft/hadoop-2.7.4/share/hadoop/hdfs/lib/*,
/home/soft/hadoop-2.7.4/share/hadoop/hdfs/*,
/home/soft/hadoop-2.7.4/share/hadoop/yarn/lib/*,
/home/soft/hadoop-2.7.4/share/hadoop/yarn/*,
/home/soft/hadoop-2.7.4/share/hadoop/mapreduce/lib/*,
/home/soft/hadoop-2.7.4/share/hadoop/mapreduce/*,
/web/soft/hadoop-2.7.4//contrib/capacity-scheduler/*.jar
    </value>
</property>
<property>
    <name>yarn.resourcemanager.scheduler.class</name>
    <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
</property>

修改yarn-site.xml 文件

发表评论

电子邮件地址不会被公开。