hadoop2.6配置文件设置

1.core-site.xml


	fs.defaultFS
	hdfs://hadoop01:8020

2.hdfs-site.xml


	dfs.namenode.name.dir
	/grid/hadoop/hdfs/nn,/grid1/hadoop/hdfs/nn


	dfs.datanode.data.dir
	
		file:///grid/hadoop/hdfs/dn, file:///grid1/hadoop/hdfs/dn


	dfs.namenode.http-address
	hadoop01:50070


	dfs.namenode.secondary.http-address
	hadoop02:50090


	dfs.namenode.checkpoint.dir
	/grid/hadoop/hdfs/snn,/grid1/hadoop/hdfs/snn,/grid2/hadoop/hdfs/snn


	dfs.namenode.checkpoint.edits.dir
	/grid/hadoop/hdfs/snn,/grid1/hadoop/hdfs/snn,/grid2/hadoop/hdfs/snn

3.yarn-site.xml


	yarn.resourcemanager.scheduler.class
	org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler


	yarn.resourcemanager.resource-tracker.address
	hadoop01:8025


	yarn.resourcemanager.scheduler.address
	hadoop01:8030


	yarn.resourcemanager.address
	hadoop01:8050


	yarn.resourcemanager.admin.address
	hadoop01:8141


	yarn.nodemanager.local-dirs
	/grid/hadoop/yarn/local,/grid1/hadoop/yarn/local


	yarn.nodemanager.log-dirs
	/grid/hadoop/yarn/log


	yarn.log.server.url
	http://hadoop01:19888/jobhistory/logs/


	yarn.resourcemanager.webapp.address
	hadoop01:8088

4.mapred-site.xml


	mapreduce.jobhistory.address
	hadoop01:10020


	mapreduce.jobhistory.webapp.address
	hadoop01:19888


======================================


你可能感兴趣的:(hadoop2.6配置文件设置)