ソースを参照

MAPREDUCE-4674. Hadoop examples secondarysort has a typo "secondarysrot" in the usage. Contributed by Robert Justice

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1388661 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 13 年 前
コミット
eb547be607

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -144,6 +144,9 @@ Release 2.0.3-alpha - Unreleased
     MAPREDUCE-4646. Fixed MR framework to send diagnostic information correctly
     MAPREDUCE-4646. Fixed MR framework to send diagnostic information correctly
     to clients in case of failed jobs also. (Jason Lowe via vinodkv)
     to clients in case of failed jobs also. (Jason Lowe via vinodkv)
 
 
+    MAPREDUCE-4674. Hadoop examples secondarysort has a typo
+    "secondarysrot" in the usage. (Robert Justice via eli)
+
 Release 2.0.2-alpha - 2012-09-07 
 Release 2.0.2-alpha - 2012-09-07 
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/SecondarySort.java

@@ -211,7 +211,7 @@ public class SecondarySort {
     Configuration conf = new Configuration();
     Configuration conf = new Configuration();
     String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs();
     String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs();
     if (otherArgs.length != 2) {
     if (otherArgs.length != 2) {
-      System.err.println("Usage: secondarysrot <in> <out>");
+      System.err.println("Usage: secondarysort <in> <out>");
       System.exit(2);
       System.exit(2);
     }
     }
     Job job = new Job(conf, "secondary sort");
     Job job = new Job(conf, "secondary sort");