hadoop 1.2.1 配置
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://blog.csdn.net/hxpjava1/article/details/20214049