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

猜你喜欢

转载自www.cnblogs.com/TheGreatDead/p/11137847.html
今日推荐