Advertisement
humayun0156

mapred-site.xml

Jan 25th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 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.  
  9. <property>
  10. <name>mapred.job.tracker</name>
  11. <value>10.18.60.1:54311</value>
  12. <description>The host and port that the MapReduce job tracker runs
  13. at. If "local", then jobs are run in-process as a single map
  14. and reduce task.
  15. </description>
  16. </property>
  17.  
  18. <property>
  19. <name>mapred.map.tasks</name>
  20. <value>10</value>
  21. <description>
  22. As a rule of thumb, use 10x the number of slaves (i.e., number
  23. of tasktrackers).
  24. </description>
  25. </property>
  26.  
  27. <property>
  28. <name>mapred.reduce.tasks</name>
  29. <value>2</value>
  30. <description>
  31. As a rule of thumb, use 2x the number of slave processors
  32. (i.e., number of tasktrackers).
  33. </description>
  34. </property>
  35.  
  36.  
  37. <property>
  38. <name>mapred.local.dir</name>
  39. <value>/opt/hadoop/hdfs/mapred/local</value>
  40. </property>
  41.  
  42.  
  43.  
  44. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement