<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
<description>设置资源调度</description>
</property>
<property>
<name>mapreduce.application.classpath</name>
<value>
/root/BigData/hadoop-3.0.0/etc/hadoop,
/root/BigData/hadoop-3.0.0/share/hadoop/common/*,
/root/BigData/hadoop-3.0.0/share/hadoop/common/lib/*,
/root/BigData/hadoop-3.0.0/share/hadoop/hdfs/*,
/root/BigData/hadoop-3.0.0/share/hadoop/hdfs/lib/*,
/root/BigData/hadoop-3.0.0/share/hadoop/mapreduce/*,
/root/BigData/hadoop-3.0.0/share/hadoop/mapreduce/lib/*,
/root/BigData/hadoop-3.0.0/share/hadoop/yarn/*,
/root/BigData/hadoop-3.0.0/share/hadoop/yarn/lib/*
</value>
<description>设置MapReduce资源调度类路径,如果不设置可能会报错</description>
</property>
</configuration>
网友评论