Advertisement
arunk786

mapred-site.xml

Sep 18th, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.01 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3.  
  4. <!-- Put site-specific property overrides in this file. -->
  5.  
  6. <configuration>
  7.  
  8. <!-- Fair scheduler
  9. <property>
  10. <name>mapred.jobtracker.taskScheduler</name>
  11. <value>org.apache.hadoop.mapred.FairScheduler</value>
  12. </property>
  13.  
  14. <property>
  15. <name>mapred.fairscheduler.allocation.file</name>
  16. <value>/home/hduser/fs.xml</value>
  17. </property>
  18. -->
  19.  
  20.            
  21.  
  22.  
  23. <!-- capacity scheduler -->
  24.  
  25. <property>
  26. <name>mapred.jobtracker.taskScheduler</name>
  27. <value>org.apache.hadoop.mapred.CapacityTaskScheduler</value>
  28. </property>
  29.  
  30. <property>
  31.   <name>mapred.queue.names</name>
  32.   <value>myqueue1,myqueue2</value>
  33. </property>
  34.  
  35.  
  36.  
  37. <!-- In: conf/mapred-site.xml -->
  38. <property>
  39.   <name>mapred.job.tracker</name>
  40.   <value>localhost:54311</value>
  41.   <description>The host and port that the MapReduce job tracker runs
  42.   at.  If "local", then jobs are run in-process as a single map
  43.   and reduce task.
  44.   </description>
  45. </property>
  46. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement