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

yarn-site.xml配置

作者: 冰冰大象 | 来源:发表于2018-01-06 11:13 被阅读713次
    <configuration>
    
    <!-- Site specific YARN configuration properties -->
     <property>
            <name>yarn.nodemanager.aux-services</name>
            <value>mapreduce_shuffle</value>
            <description>NodeManager上运行的附属服务。需配置成mapreduce_shuffle,才可运行MapReduce程序</description>
        </property>
    
    <property>
        <name>yarn.resourcemanager.hostname</name>
        <value>master</value>
        <description>resourcemanager</description>
    </property>
    
    <property>
        <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
        <value>org.apache.hadoop.mapred.ShuffleHandle</value>
         <description>NodeManager上运行的附属服务。需配置成mapreduce_shuffle,才可运行MapReduce程序</description>
    </property>
    
     <property>
       <name>yarn.nodemanager.vmem-check-enabled</name>
        <value>false</value>
        <description>由于我的测试机内存少,所以就关闭虚拟内存检测s</description>
      </property>
    
     <property>
            <name>yarn.resourcemanager.resource-tracker.address</name>
            <value>master:8025</value>
            <description>The hostname of the RM.</description>
       </property>
        <property>
            <name>yarn.resourcemanager.scheduler.address</name>
            <value>master:8030</value>
            <description>The hostname of the RM.</description>
        </property>
        <property>
            <name>yarn.resourcemanager.address</name>
            <value>master:8050</value>
            <description>The hostname of the RM.</description>
        </property>
    </configuration>
    

    相关文章

      网友评论

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

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