标签: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 配置
原文地址:http://now51jq.blog.51cto.com/3474143/1440957