core-site.xml,yarn-site.xml,hdfs-site.xml,mapred-site.xml配置

core-site.xml









	fs.defaultFS
	hdfs://node02:9820


	hadoop.tmp.dir
	/opt/module/hadoop-3.3.3/data


yarn-site.xml






	yarn.nodemanager.aux-services
	mapreduce_shuffle



	yarn.resourcemanager.hostname
	node03



	yarn.nodemanager.env-whitelist
	JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_MAPRED_HOME



	yarn.scheduler.minimum-allocation-mb
	512


	yarn.scheduler.maxmum-allocation-mb
	4096



	yarn.nodemanager.resource.memory-mb
	4096



	yarn.nodemanager.pmem-check-enabled
	false


	yarn.nodemanager.vmem-check-enabled
	false




 

hdfs-site.xml









	dfs.namenode.name.http-address
	node02:9870


	dfs.namenode.secondary.http-address
	node04:9868


 

mapred-site.xml









	mapreduce.framework.name
	yarn


你可能感兴趣的:(xml,hdfs,hadoop)