Browse Source

MAPREDUCE-6403. Fix typo in the usage of NNBench. Contributed by Jagadesh Kiran N.

(cherry picked from commit 445b13240cb632ee8bc718f0576f783a7350af2e)
Akira Ajisaka 10 years ago
parent
commit
c4747158b7

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

@@ -231,6 +231,9 @@ Release 2.8.0 - UNRELEASED
     MAPREDUCE-6405. NullPointerException in App Attempts page.
     (Siqi Li and Gera Shegalov via devaraj)
 
+    MAPREDUCE-6403. Fix typo in the usage of NNBench.
+    (Jagadesh Kiran N via aajisaka)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 2
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java

@@ -59,7 +59,6 @@ import org.apache.hadoop.mapred.JobConf;
 import org.apache.hadoop.mapred.Reducer;
 import org.apache.hadoop.mapreduce.MRJobConfig;
 import org.apache.hadoop.mapreduce.TaskAttemptID;
-import org.apache.hadoop.mapreduce.v2.api.records.TaskId;
 
 /**
  * This program executes a specified operation that applies load to 
@@ -197,7 +196,7 @@ public class NNBench {
       "This is not mandatory>\n" +
       "\t-replicationFactorPerFile <Replication factor for the files." +
         " default is 1. This is not mandatory>\n" +
-      "\t-baseDir <base DFS path. default is /becnhmarks/NNBench. " +
+      "\t-baseDir <base DFS path. default is /benchmarks/NNBench. " +
       "This is not mandatory>\n" +
       "\t-readFileAfterOpen <true or false. if true, it reads the file and " +
       "reports the average time to read. This is valid with the open_read " +