標籤:hadoop 配置
core-site.xml
<configuration> <property> <name>fs.default.name</name> <value>hdfs://qlserver03:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/home/grid/hadoop/tmp</value> </property></configuration>
2. hdfs-site.xml
<configuration><property><name>dfs.name.dir</name><value>/home/grid/hadoop/name</value></property><property><name>dfs.data.dir</name><value>/home/grid/hadoop/data</value></property><property><name>dfs.replication</name><value>1</value></property><property><name>dfs.permissions</name><value>false</value></property><property><name>dfs.blocksize</name><value>16777216</value><final>true</final></property></configuration>
3. mapred-site.xml
<configuration> <property> <name>mapred.job.tracker</name> <value>hdfs://qlserver03:9001</value> </property></configuration>
本文出自 “流浪的腳步” 部落格,請務必保留此出處http://now51jq.blog.51cto.com/3474143/1440957
Hadoop(1.2.1) 常用配置-------筆記