Author: cdouglas
Date: Thu Jul 17 13:32:59 2008
New Revision: 677712
URL: http://svn.apache.org/viewvc?rev=677712&view=rev
Log:
HADOOP-3774. Fix typos in shell output. Contributed by Tsz Wo (Nicholas), SZE.
Modified:
hadoop/core/trunk/CHANGES.txt
hadoop/core/trunk/src/core/org/apache/hadoop/util/GenericOptionsParser.java
hadoop/core/trunk/src/examples/org/apache/hadoop/examples/RandomTextWriter.java
Modified: hadoop/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=677712&r1=677711&r2=677712&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Jul 17 13:32:59 2008
@@ -866,6 +866,9 @@
HADOOP-3743. Fix -libjars, -files, -archives options to work even if
user code does not implement tools. (Amareshwari Sriramadasu via mahadev)
+ HADOOP-3774. Fix typos in shell output. (Tsz Wo (Nicholas), SZE via
+ cdouglas)
+
Release 0.17.2 - Unreleased
BUG FIXES
Modified:
hadoop/core/trunk/src/core/org/apache/hadoop/util/GenericOptionsParser.java
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/util/GenericOptionsParser.java?rev=677712&r1=677711&r2=677712&view=diff
==============================================================================
--- hadoop/core/trunk/src/core/org/apache/hadoop/util/GenericOptionsParser.java
(original)
+++ hadoop/core/trunk/src/core/org/apache/hadoop/util/GenericOptionsParser.java
Thu Jul 17 13:32:59 2008
@@ -332,11 +332,11 @@
out.println("Generic options supported are");
out.println("-conf <configuration file> specify an application
configuration file");
out.println("-D <property=value> use value for given property");
- out.println("-fs <local|namenode:port> specify a namenod");
+ out.println("-fs <local|namenode:port> specify a namenode");
out.println("-jt <local|jobtracker:port> specify a job tracker");
- out.println("-files <comma separated list of fiels> " +
+ out.println("-files <comma separated list of files> " +
"specify comma separated files to be copied to the map reduce cluster");
- out.println("-libjars <comma seperated list of jars> " +
+ out.println("-libjars <comma separated list of jars> " +
"specify comma separated jar files to include in the classpath.");
out.println("-archives <comma separated list of archives> " +
"specify comma separated archives to be unarchived" +
Modified:
hadoop/core/trunk/src/examples/org/apache/hadoop/examples/RandomTextWriter.java
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/examples/org/apache/hadoop/examples/RandomTextWriter.java?rev=677712&r1=677711&r2=677712&view=diff
==============================================================================
---
hadoop/core/trunk/src/examples/org/apache/hadoop/examples/RandomTextWriter.java
(original)
+++
hadoop/core/trunk/src/examples/org/apache/hadoop/examples/RandomTextWriter.java
Thu Jul 17 13:32:59 2008
@@ -77,14 +77,14 @@
* and ones supported by [EMAIL PROTECTED] Tool} via the command-line.
*
* To run: bin/hadoop jar hadoop-${version}-examples.jar randomtextwriter
- * [-outFormat <i>output format class</i>] <i>in-dir</i>
+ * [-outFormat <i>output format class</i>] <i>output</i>
*/
public class RandomTextWriter extends Configured implements Tool {
static int printUsage() {
System.out.println("randomtextwriter " +
"[-outFormat <output format class>] " +
- "<input>");
+ "<output>");
ToolRunner.printGenericCommandUsage(System.out);
return -1;
}