MAPREDUCE-6795. Update the document for JobConf#setNumReduceTasks. Contributed by Yiqun Lin.
(cherry picked from commit235f39b7c4
) (cherry picked from commita3897f77ae
)
This commit is contained in:
parent
c895f08936
commit
61128c50de
|
@ -1348,9 +1348,14 @@ public class JobConf extends Configuration {
|
||||||
* <b id="NoOfReduces">How many reduces?</b>
|
* <b id="NoOfReduces">How many reduces?</b>
|
||||||
*
|
*
|
||||||
* <p>The right number of reduces seems to be <code>0.95</code> or
|
* <p>The right number of reduces seems to be <code>0.95</code> or
|
||||||
* <code>1.75</code> multiplied by (<<i>no. of nodes</i>> *
|
* <code>1.75</code> multiplied by (
|
||||||
* <a href="{@docRoot}/../mapred-default.html#mapreduce.tasktracker.reduce.tasks.maximum">
|
* <i>available memory for reduce tasks</i>
|
||||||
* mapreduce.tasktracker.reduce.tasks.maximum</a>).
|
* (The value of this should be smaller than
|
||||||
|
* numNodes * yarn.nodemanager.resource.memory-mb
|
||||||
|
* since the resource of memory is shared by map tasks and other
|
||||||
|
* applications) /
|
||||||
|
* <a href="{@docRoot}/../hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml#mapreduce.reduce.memory.mb">
|
||||||
|
* mapreduce.reduce.memory.mb</a>).
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <p>With <code>0.95</code> all of the reduces can launch immediately and
|
* <p>With <code>0.95</code> all of the reduces can launch immediately and
|
||||||
|
|
Loading…
Reference in New Issue