MAPREDUCE-6866. Fix getNumMapTasks() documentation in JobConf. This closes #205
Signed-off-by: Akira Ajisaka <aajis...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e0a2eb71 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e0a2eb71 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e0a2eb71 Branch: refs/heads/HDFS-10467 Commit: e0a2eb71e3eb3efa865068089b649624132d33a1 Parents: b63ae85 Author: Joe Mészáros <jmesza...@hiya.com> Authored: Fri Mar 24 10:46:31 2017 +0100 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Mon Mar 27 13:51:03 2017 +0900 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/mapred/JobConf.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e0a2eb71/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java index ef9ec61..f286a96 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java @@ -1286,10 +1286,10 @@ public class JobConf extends Configuration { } /** - * Get configured the number of reduce tasks for this job. + * Get the configured number of map tasks for this job. * Defaults to <code>1</code>. * - * @return the number of reduce tasks for this job. + * @return the number of map tasks for this job. */ public int getNumMapTasks() { return getInt(JobContext.NUM_MAPS, 1); } @@ -1334,9 +1334,9 @@ public class JobConf extends Configuration { public void setNumMapTasks(int n) { setInt(JobContext.NUM_MAPS, n); } /** - * Get configured the number of reduce tasks for this job. Defaults to + * Get the configured number of reduce tasks for this job. Defaults to * <code>1</code>. - * + * * @return the number of reduce tasks for this job. */ public int getNumReduceTasks() { return getInt(JobContext.NUM_REDUCES, 1); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org