Skip to content

Commit 6221365

Browse files
committed
HADOOP-3886. Error in javadoc of Reporter, Mapper and Progressable. Contributed by Jingguo Yao. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1360222 13f79535-47bb-0310-9956-ffa450edef68
1 parent 78bc2ac commit 6221365

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

hadoop-common-project/hadoop-common/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ Branch-2 ( Unreleased changes )
325325

326326
HADOOP-8586. Fixup a bunch of SPNEGO misspellings. (eli)
327327

328+
HADOOP-3886. Error in javadoc of Reporter, Mapper and Progressable
329+
(Jingguo Yao via harsh)
330+
328331
BREAKDOWN OF HDFS-3042 SUBTASKS
329332

330333
HADOOP-8220. ZKFailoverController doesn't handle failure to become active

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Progressable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* <p>Clients and/or applications can use the provided <code>Progressable</code>
2828
* to explicitly report progress to the Hadoop framework. This is especially
29-
* important for operations which take an insignificant amount of time since,
29+
* important for operations which take significant amount of time since,
3030
* in-lieu of the reported progress, the framework has to assume that an error
3131
* has occured and time-out the operation.</p>
3232
*/

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Mapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public interface Mapper<K1, V1, K2, V2> extends JobConfigurable, Closeable {
144144
*
145145
* <p>Applications can use the {@link Reporter} provided to report progress
146146
* or just indicate that they are alive. In scenarios where the application
147-
* takes an insignificant amount of time to process individual key/value
147+
* takes significant amount of time to process individual key/value
148148
* pairs, this is crucial since the framework might assume that the task has
149149
* timed-out and kill that task. The other way of avoiding this is to set
150150
* <a href="{@docRoot}/../mapred-default.html#mapreduce.task.timeout">

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Reporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* <p>{@link Mapper} and {@link Reducer} can use the <code>Reporter</code>
3131
* provided to report progress or just indicate that they are alive. In
32-
* scenarios where the application takes an insignificant amount of time to
32+
* scenarios where the application takes significant amount of time to
3333
* process individual key/value pairs, this is crucial since the framework
3434
* might assume that the task has timed-out and kill that task.
3535
*

0 commit comments

Comments
 (0)