- 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>
时间: 2024-10-13 00:57:02