zoukankan      html  css  js  c++  java
  • hadoop在windows上的配置文件

    core-site.xml

    <configuration>
        <property>
            <name>hadoop.tmp.dir</name> 
            <value>file:/D:/data/hdfs/tmp</value>
            <final>true</final>
            <description>A base for other temporary directories.</description>
        </property>
        <property>
            <name>fs.defaultFS</name>
            <value>hdfs://tim:8020</value>
            <final>true</final>
        </property>
    </configuration>

    hdfs-site.xml

    <configuration>
      <property>
        <name>dfs.replication</name>
        <value>1</value>
      </property>
      <property>
        <name>dfs.name.dir</name>
        <value>file:/D:/data/hdfs/name</value>
      </property>
      <property>
        <name>dfs.data.dir</name>
        <value>file:/D:/data/hdfs/data</value>
      </property>
      <property>
        <name>dfs.permissions</name>
        <value>false</value>
      </property>
    </configuration>

    mapred-site.xml

    <configuration>
        <property>
            <name>mapreduce.framework.name</name>
            <value>yarn</value>
        </property>
    </configuration>

    yarn-site.xml

    <configuration>
        <property>
            <name>yarn.nodemanager.aux-services</name>
            <value>mapreduce_shuffle</value>
        </property>
        <property>
            <name>yarn.resourcemanager.hostname</name>
            <value>tim</value>
        </property>
    </configuration>
  • 相关阅读:
    cf492D Vanya and Computer Game
    cf492C Vanya and Exams
    cf492A Vanya and Cubes
    bzoj2038 [2009国家集训队]小Z的袜子(hose)
    bzoj3781 小B的询问
    bzoj1858 [Scoi2010]序列操作
    bzoj1060 [ZJOI2007]时态同步
    算法学习心得
    bzoj1054 [HAOI2008]移动玩具
    bzoj3437 小P的牧场
  • 原文地址:https://www.cnblogs.com/timlong/p/9991662.html
Copyright © 2011-2022 走看看