标签:
core-site.xml (namenode进程配置文件)
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://hadoop-master:9000</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/opt/data/tmp</value>
</property>
</configuration>
hdfs-site.xml (SecondaryNamenode进程配置文件)
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
mapred-site.xml (JobTracker进程配置文件)
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>
标签:
原文地址:http://www.cnblogs.com/summeney/p/5222999.html