美文网首页
mapred-site.xml配置

mapred-site.xml配置

作者: 冰冰大象 | 来源:发表于2018-01-06 10:35 被阅读521次
    <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>
    

    相关文章

      网友评论

          本文标题:mapred-site.xml配置

          本文链接:https://www.haomeiwen.com/subject/igolnxtx.html