天天看點

hadoop需要修改的配置檔案

core-site.xml:

<configuration>

<property>

<name>fs.defaultFS </name>

<value>hdfs://hadoop00:8020</value>

</property>

</configuration>

hdfs-site.xml:

<configuration>

<property>

<name>dfs.replication</name>

<value>1</value>

</property>

<property>

<name>hadoop.tmp.dir</name>

<value>/app/temple</value>

</property>

</configuration>

slave:

主機名

首次使用需要格式化!! hdfs namenode -format

轉載于:https://www.cnblogs.com/TheGreatDead/p/11137847.html

繼續閱讀