Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -PROD- hadoopsup@wchddb01pxdu:/prod/hadoop/prod/hadoop/conf$vi mapred-site.xml
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <!-- Put site-specific property overrides in this file. -->
- <configuration>
- <property>
- <name>mapred.job.tracker</name>
- <value>wchddb35pxdu:9012</value>
- </property>
- <property>
- <name>mapred.local.dir</name>
- <value>/drive2/hadoop/prod/mapred/local,/drive3/hadoop/prod/mapred/local,/drive4/hadoop/prod/mapred/local</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.jobtracker.staging.root.dir</name>
- <value>/user/${user.name}/mapred/local</value>
- </property>
- <property>
- <name>mapred.system.dir</name>
- <value>/tmp/hadoop/mapred/system</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.tasktracker.map.tasks.maximum</name>
- <value>4</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.tasktracker.reduce.tasks.maximum</name>
- <value>2</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.child.java.opts</name>
- <value>-Xmx4096m</value>
- </property>
- <property>
- <name>mapred.job.tracker.http.address</name>
- <value>0.0.0.0:9001</value>
- </property>
- <property>
- <name>mapred.task.tracker.http.address</name>
- <value>0.0.0.0:9003</value>
- </property>
- <property>
- <name>mapred.compress.map.output</name>
- <value>true</value>
- </property>
- <property>
- <name>mapred.child.env</name>
- <value>JAVA_LIBRARY_PATH=/drive1/hadoop/prod/hadoop/lib/native/Linux-amd64-64</value>
- </property>
- <property>
- <name>mapred.map.output.compression.codec</name>
- <!-- <value>com.hadoop.compression.lzo.LzoCodec</value> -->
- <value>org.apache.hadoop.io.compress.SnappyCodec</value>
- </property>
- <property>
- <name>mapred.map.tasks.speculative.execution</name>
- <value>false</value>
- </property>
- -PROD- hadoopsup@wchddb01pxdu:/prod/hadoop/prod/hadoop/conf$cat mapred-site.xml
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <!-- Put site-specific property overrides in this file. -->
- <configuration>
- <property>
- <name>mapred.job.tracker</name>
- <value>wchddb35pxdu:9012</value>
- </property>
- <property>
- <name>mapred.local.dir</name>
- <value>/drive2/hadoop/prod/mapred/local,/drive3/hadoop/prod/mapred/local,/drive4/hadoop/prod/mapred/local</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.jobtracker.staging.root.dir</name>
- <value>/user/${user.name}/mapred/local</value>
- </property>
- <property>
- <name>mapred.system.dir</name>
- <value>/tmp/hadoop/mapred/system</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.tasktracker.map.tasks.maximum</name>
- <value>4</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.tasktracker.reduce.tasks.maximum</name>
- <value>2</value>
- <final>true</final>
- </property>
- <property>
- <name>mapred.child.java.opts</name>
- <value>-Xmx4096m</value>
- </property>
- <property>
- <name>mapred.job.tracker.http.address</name>
- <value>0.0.0.0:9001</value>
- </property>
- <property>
- <name>mapred.task.tracker.http.address</name>
- <value>0.0.0.0:9003</value>
- </property>
- <property>
- <name>mapred.compress.map.output</name>
- <value>true</value>
- </property>
- <property>
- <name>mapred.child.env</name>
- <value>JAVA_LIBRARY_PATH=/drive1/hadoop/prod/hadoop/lib/native/Linux-amd64-64</value>
- </property>
- <property>
- <name>mapred.map.output.compression.codec</name>
- <!-- <value>com.hadoop.compression.lzo.LzoCodec</value> -->
- <value>org.apache.hadoop.io.compress.SnappyCodec</value>
- </property>
- <property>
- <name>mapred.map.tasks.speculative.execution</name>
- <value>false</value>
- </property>
- <property>
- <name>mapred.reduce.tasks.speculative.execution</name>
- <value>false</value>
- </property>
- <property>
- <name>mapred.jobtracker.taskScheduler</name>
- <value>org.apache.hadoop.mapred.FairScheduler</value>
- </property>
- <property>
- <name>mapred.fairscheduler.allocation.file </name>
- <value>/drive1/hadoop/prod/hadoop/conf/fair-scheduler.xml</value>
- </property>
- <property>
- <name>mapreduce.job.userlog.retain.hours</name>
- <value>168</value>
- </property>
- <property>
- <name>mapred.reduce.slowstart.completed.maps</name>
- <value>0.95</value>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment