- "1.0" encoding="UTF-8"?>
- "text/xsl" href="configuration.xsl"?>
-
-
- <configuration>
- <property>
- <name>fs.defaultFSname>
- <value>hdfs://node02:9820value>
- property>
- <property>
- <name>hadoop.tmp.dirname>
- <value>/opt/module/hadoop-3.3.3/datavalue>
- property>
- "1.0"?>
- <configuration>
- <property>
- <name>yarn.nodemanager.aux-servicesname>
- <value>mapreduce_shufflevalue>
- property>
- <property>
- <name>yarn.resourcemanager.hostnamename>
- <value>node03value>
- property>
- <property>
- <name>yarn.nodemanager.env-whitelistname>
- <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_MAPRED_HOMEvalue>
- property>
- <property>
- <name>yarn.scheduler.minimum-allocation-mbname>
- <value>512value>
- property>
- <property>
- <name>yarn.scheduler.maxmum-allocation-mbname>
- <value>4096value>
- property>
- <property>
- <name>yarn.nodemanager.resource.memory-mbname>
- <value>4096value>
- property>
- <property>
- <name>yarn.nodemanager.pmem-check-enabledname>
- <value>falsevalue>
- property>
- <property>
- <name>yarn.nodemanager.vmem-check-enabledname>
- <value>falsevalue>
- property>
-
-
- configuration>
- "1.0" encoding="UTF-8"?>
- "text/xsl" href="configuration.xsl"?>
-
-
- <configuration>
- <property>
- <name>dfs.namenode.name.http-addressname>
- <value>node02:9870value>
- property>
- <property>
- <name>dfs.namenode.secondary.http-addressname>
- <value>node04:9868value>
- property>
- configuration>
mapred-site.xml
- "1.0"?>
- "text/xsl" href="configuration.xsl"?>
-
-
- <configuration>
- <property>
- <name>mapreduce.framework.namename>
- <value>yarnvalue>
- property>
- configuration>