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 aa...@apache.org on 2020/07/30 04:31:40 UTC

[hadoop] branch branch-3.1 updated: MAPREDUCE-7051. Fix typo in MultipleOutputFormat (#338)

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

aajisaka pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 2dfc6bf  MAPREDUCE-7051. Fix typo in MultipleOutputFormat (#338)
2dfc6bf is described below

commit 2dfc6bf4717e61d46fcfc8de9e7e1aadd38ac278
Author: ywheel <yw...@users.noreply.github.com>
AuthorDate: Thu Jul 30 12:01:22 2020 +0800

    MAPREDUCE-7051. Fix typo in MultipleOutputFormat (#338)
    
    (cherry picked from commit cf4eb75608527a8a56ad9d13a3009ccc38b29c8e)
---
 .../main/java/org/apache/hadoop/mapred/lib/MultipleOutputFormat.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputFormat.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputFormat.java
index 90ce57a..125c756 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputFormat.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputFormat.java
@@ -175,7 +175,7 @@ extends FileOutputFormat<K, V> {
   
 
   /**
-   * Generate the outfile name based on a given anme and the input file name. If
+   * Generate the outfile name based on a given name and the input file name. If
    * the {@link JobContext#MAP_INPUT_FILE} does not exists (i.e. this is not for a map only job),
    * the given name is returned unchanged. If the config value for
    * "num.of.trailing.legs.to.use" is not set, or set 0 or negative, the given
@@ -187,7 +187,7 @@ extends FileOutputFormat<K, V> {
    *          the job config
    * @param name
    *          the output file name
-   * @return the outfile name based on a given anme and the input file name.
+   * @return the outfile name based on a given name and the input file name.
    */
   protected String getInputFileBasedOutputFileName(JobConf job, String name) {
     String infilepath = job.get(MRJobConfig.MAP_INPUT_FILE);


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