MacOS下极简阐释版hadoop安装配置流程与填坑

2019-01-26  本文已影响0人  _火箭总冠军
<configuration>
  <property>
    <name>hadoop.tmp.dir</name> 
    <value>/usr/local/Cellar/hadoop/hdfs/tmp</value>
    <description>A base for other temporary directories.</description>
  </property>
  <property>
    <name>fs.default.name</name>                                     
    <value>hdfs://localhost:9000</value>                          
  </property>                                                       
</configuration>

(2)/usr/local/Cellar/hadoop/3.1.1/libexec/etc/hadoop/mapred-site.xml

<configuration>
  <property>
    <name>mapred.job.tracker</name>
    <value>localhost:9010</value>
  </property>
</configuration>

(3)/usr/local/Cellar/hadoop/3.1.1/libexec/etc/hadoop/hdfs-site.xml

<configuration>
  <property>
    <name>dfs.replication</name>
    <value>1</value>  <!-- 伪分布模式 -->
  </property>
</configuration>
上一篇 下一篇

猜你喜欢

热点阅读