You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2026/10/24 14:03:53 UTC

(hadoop) branch trunk updated: MAPREDUCE-7550. Fix typos in MapReduce documentation and Javadocs (#8859). Contributed by Yuan Luo

This is an automated email from the ASF dual-hosted git repository.

ayushtkn pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c776f22c223 MAPREDUCE-7550. Fix typos in MapReduce documentation and Javadocs (#8859). Contributed by Yuan Luo
c776f22c223 is described below

commit c776f22c2231335a280bf46cba7497d473449831
Author: luoyuan3471 <46...@users.noreply.github.com>
AuthorDate: Sat Oct 24 22:03:46 2026 +0800

    MAPREDUCE-7550. Fix typos in MapReduce documentation and Javadocs (#8859). Contributed by Yuan Luo
---
 .../src/main/java/org/apache/hadoop/mapred/Reducer.java               | 2 +-
 .../apache/hadoop/mapred/lib/aggregate/ValueAggregatorDescriptor.java | 2 +-
 .../src/main/java/org/apache/hadoop/mapreduce/Reducer.java            | 2 +-
 .../mapreduce/lib/aggregate/UserDefinedValueAggregatorDescriptor.java | 2 +-
 .../hadoop/mapreduce/lib/aggregate/ValueAggregatorBaseDescriptor.java | 2 +-
 .../hadoop/mapreduce/lib/aggregate/ValueAggregatorDescriptor.java     | 4 ++--
 .../src/main/resources/mapred-default.xml                             | 4 ++--
 .../src/site/markdown/DistributedCacheDeploy.md.vm                    | 4 ++--
 .../hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md  | 2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Reducer.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Reducer.java
index fa6de1219a2..1d126115925 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Reducer.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Reducer.java
@@ -65,7 +65,7 @@
  *   <p>If equivalence rules for keys while grouping the intermediates are 
  *   different from those for grouping keys before reduction, then one may 
  *   specify a <code>Comparator</code> via 
- *   {@link JobConf#setOutputValueGroupingComparator(Class)}.Since 
+ *   {@link JobConf#setOutputValueGroupingComparator(Class)}. Since
  *   {@link JobConf#setOutputKeyComparatorClass(Class)} can be used to 
  *   control how intermediate keys are grouped, these can be used in conjunction 
  *   to simulate <i>secondary sort on values</i>.</p>
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/aggregate/ValueAggregatorDescriptor.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/aggregate/ValueAggregatorDescriptor.java
index 7a62271e478..c15c0905502 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/aggregate/ValueAggregatorDescriptor.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/aggregate/ValueAggregatorDescriptor.java
@@ -28,7 +28,7 @@
  * support. Such a descriptor can be configured with a JobConf object. Its main
  * function is to generate a list of aggregation-id/value pairs. An aggregation
  * id encodes an aggregation type which is used to guide the way to aggregate
- * the value in the reduce/combiner phrase of an Aggregate based job.The mapper in
+ * the value in the reduce/combiner phase of an Aggregate based job. The mapper in
  * an Aggregate based map/reduce job may create one or more of
  * ValueAggregatorDescriptor objects at configuration time. For each input
  * key/value pair, the mapper will use those objects to create aggregation
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Reducer.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Reducer.java
index ab67ab05734..c0b24ec92de 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Reducer.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Reducer.java
@@ -61,7 +61,7 @@
  *   iterator, the application should extend the key with the secondary
  *   key and define a grouping comparator. The keys will be sorted using the
  *   entire key, but will be grouped using the grouping comparator to decide
- *   which keys and values are sent in the same call to reduce.The grouping 
+ *   which keys and values are sent in the same call to reduce. The grouping
  *   comparator is specified via 
  *   {@link Job#setGroupingComparatorClass(Class)}. The sort order is
  *   controlled by 
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/UserDefinedValueAggregatorDescriptor.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/UserDefinedValueAggregatorDescriptor.java
index 7cd0e51e950..44205d48022 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/UserDefinedValueAggregatorDescriptor.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/UserDefinedValueAggregatorDescriptor.java
@@ -94,7 +94,7 @@ public UserDefinedValueAggregatorDescriptor(String className,
    *          input value
    * @return a list of aggregation id/value pairs. An aggregation id encodes an
    *         aggregation type which is used to guide the way to aggregate the
-   *         value in the reduce/combiner phrase of an Aggregate based job.
+   *         value in the reduce/combiner phase of an Aggregate based job.
    */
   public ArrayList<Entry<Text, Text>> generateKeyValPairs(Object key,
                                                           Object val) {
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorBaseDescriptor.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorBaseDescriptor.java
index f8c84784bc0..0b88a7bd701 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorBaseDescriptor.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorBaseDescriptor.java
@@ -135,7 +135,7 @@ static public ValueAggregator generateValueAggregator(String type, long uniqCoun
    *          input value
    * @return a list of aggregation id/value pairs. An aggregation id encodes an
    *         aggregation type which is used to guide the way to aggregate the
-   *         value in the reduce/combiner phrase of an Aggregate based job.
+   *         value in the reduce/combiner phase of an Aggregate based job.
    */
   public ArrayList<Entry<Text, Text>> generateKeyValPairs(Object key,
                                                           Object val) {
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorDescriptor.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorDescriptor.java
index 924a390d5ab..0f430a95ec6 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorDescriptor.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/aggregate/ValueAggregatorDescriptor.java
@@ -31,7 +31,7 @@
  * support. Such a descriptor can be configured with a {@link Configuration}
  * object. Its main function is to generate a list of aggregation-id/value 
  * pairs. An aggregation id encodes an aggregation type which is used to 
- * guide the way to aggregate the value in the reduce/combiner phrase of an
+ * guide the way to aggregate the value in the reduce/combiner phase of an
  * Aggregate based job. 
  * The mapper in an Aggregate based map/reduce job may create one or more of
  * ValueAggregatorDescriptor objects at configuration time. For each input
@@ -58,7 +58,7 @@ public interface ValueAggregatorDescriptor {
    *          input value
    * @return a list of aggregation id/value pairs. An aggregation id encodes an
    *         aggregation type which is used to guide the way to aggregate the
-   *         value in the reduce/combiner phrase of an Aggregate based job.
+   *         value in the reduce/combiner phase of an Aggregate based job.
    */
   public ArrayList<Entry<Text, Text>> generateKeyValPairs(Object key,
                                                           Object val);
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
index 9c8cdb67089..1a3d72dd5c8 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
@@ -464,7 +464,7 @@
   <value>INFO</value>
   <description>The logging level for the MR ApplicationMaster. The allowed
   levels are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
-  The setting here could be overriden if "mapreduce.job.log4j-properties-file"
+  The setting here could be overridden if "mapreduce.job.log4j-properties-file"
   is set.
   </description>
 </property>
@@ -1453,7 +1453,7 @@
     <value></value>
     <description>Used to override the default settings of log4j in container-log4j.properties
     for NodeManager. Like container-log4j.properties, it requires certain
-    framework appenders properly defined in this overriden file. The file on the
+    framework appenders properly defined in this overridden file. The file on the
     path will be added to distributed cache and classpath. If no-scheme is given
     in the path, it defaults to point to a log4j file on the local FS.
     </description>
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/DistributedCacheDeploy.md.vm b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/DistributedCacheDeploy.md.vm
index 45522356717..b38cb029713 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/DistributedCacheDeploy.md.vm
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/DistributedCacheDeploy.md.vm
@@ -97,9 +97,9 @@ The `frameworkuploader` tool mentioned above has additional parameters that help
 
 `-initialReplication`: This is the replication count that the framework tarball is created with. It is safe to leave this value at the default 3. This is the tested scenario.
 
-`-finalReplication`: The uploader tool sets the replication once all blocks are collected and uploaded. If quick initial startup is required, then it is advised to set this to the commissioned node count divided by two but not more than 512. This will leverage HDFS to spread the tarball in a distributed manner. Once the jobs start they will likely hit a local HDFS node to localize from or they can select from a wide set of additional source nodes. If this is is set to a low value like 10 [...]
+`-finalReplication`: The uploader tool sets the replication once all blocks are collected and uploaded. If quick initial startup is required, then it is advised to set this to the commissioned node count divided by two but not more than 512. This will leverage HDFS to spread the tarball in a distributed manner. Once the jobs start they will likely hit a local HDFS node to localize from or they can select from a wide set of additional source nodes. If this is set to a low value like 10, t [...]
 
-`-acceptableReplication`: The tool will wait until the tarball has been replicated this number of times before exiting. This should be a replication count less than or equal to the value in `finalReplication`. This is typically a 90% of the value in `finalReplication` to accomodate failing nodes.
+`-acceptableReplication`: The tool will wait until the tarball has been replicated this number of times before exiting. This should be a replication count less than or equal to the value in `finalReplication`. This is typically a 90% of the value in `finalReplication` to accommodate failing nodes.
 
 `-timeout`: A timeout in seconds to wait to reach `acceptableReplication` before the tool exits. The tool logs an error otherwise and returns.
 
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
index 859f293726b..624d105a311 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
@@ -183,7 +183,7 @@ Usage: `mapred frameworkuploader -target <target> [-fs <filesystem>] [-input <cl
 | -nosymlink | This flag can be used to exclude symlinks that point to the same directory. This is not widely used. For example, `/a/foo.jar` and a symlink `/a/bar.jar` that points to `/a/foo.jar` would normally add `foo.jar` and `bar.jar` to the tarball as separate files despite them actually being the same file. This flag would make the tool exclude `/a/bar.jar` so only one copy of the file is added. |
 | -initialReplication *num* | This is the replication count that the framework tarball is created with. It is safe to leave this value at the default 3. This is the tested scenario. |
 | -finalReplication *num* | The uploader tool sets the replication once all blocks are collected and uploaded. If quick initial startup is required, then it is advised to set this to the commissioned node count divided by two but not more than 512. |
-| -acceptableReplication *num* | The tool will wait until the tarball has been replicated this number of times before exiting. This should be a replication count less than or equal to the value in `finalReplication`. This is typically a 90% of the value in `finalReplication` to accomodate failing nodes. |
+| -acceptableReplication *num* | The tool will wait until the tarball has been replicated this number of times before exiting. This should be a replication count less than or equal to the value in `finalReplication`. This is typically a 90% of the value in `finalReplication` to accommodate failing nodes. |
 | -timeout *seconds* | A timeout in seconds to wait to reach `acceptableReplication` before the tool exits. The tool logs an error otherwise and returns.
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org