Skip to content

Instantly share code, notes, and snippets.

@syaffers
Created April 7, 2021 09:02
Show Gist options
  • Save syaffers/7cf27ea76992e19729478c476380c65e to your computer and use it in GitHub Desktop.
Save syaffers/7cf27ea76992e19729478c476380c65e to your computer and use it in GitHub Desktop.
Example Mapreduce site configuration for COSC class
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
<property>
<name>yarn.app.mapreduce.am.env</name>
<value>HADOOP_MAPRED_HOME=/opt/hadoop-3.2.2</value>
</property>
<property>
<name>mapreduce.map.env</name>
<value>HADOOP_MAPRED_HOME=/opt/hadoop-3.2.2</value>
</property>
<property>
<name>mapreduce.reduce.env</name>
<value>HADOOP_MAPRED_HOME=/opt/hadoop-3.2.2</value>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment