From e0cc26093c99162f3a78859ecd4c6337cfd49d80 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Mon, 25 Apr 2011 17:08:23 +0000 Subject: [PATCH] HADOOP-7241. fix typo of command 'hadoop fs -help tail'. Contributed by Wei Yongjun git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1096522 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 3 +++ src/java/org/apache/hadoop/fs/FsShell.java | 2 +- src/test/core/org/apache/hadoop/cli/testConf.xml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1d419aeb1ba..9447d6befc6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -381,6 +381,9 @@ Release 0.22.0 - Unreleased HADOOP-7187. Fix socket leak in GangliaContext. (Uma Maheswara Rao G via szetszwo) + HADOOP-7241. fix typo of command 'hadoop fs -help tail'. + (Wei Yongjun via eli) + OPTIMIZATIONS HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..). diff --git a/src/java/org/apache/hadoop/fs/FsShell.java b/src/java/org/apache/hadoop/fs/FsShell.java index ea163f5c365..e3b5c03e277 100644 --- a/src/java/org/apache/hadoop/fs/FsShell.java +++ b/src/java/org/apache/hadoop/fs/FsShell.java @@ -1436,7 +1436,7 @@ private void printHelp(String cmd) { String tail = TAIL_USAGE + ": Show the last 1KB of the file. \n" - + "\t\tThe -f option shows apended data as the file grows. \n"; + + "\t\tThe -f option shows appended data as the file grows. \n"; String chmod = FsShellPermissions.CHMOD_USAGE + "\n" + "\t\tChanges permissions of a file.\n" + diff --git a/src/test/core/org/apache/hadoop/cli/testConf.xml b/src/test/core/org/apache/hadoop/cli/testConf.xml index 5603ca8ff3c..66fd40c6643 100644 --- a/src/test/core/org/apache/hadoop/cli/testConf.xml +++ b/src/test/core/org/apache/hadoop/cli/testConf.xml @@ -610,7 +610,7 @@ RegexpComparator - ^( |\t)*The -f option shows apended data as the file grows.( )* + ^( |\t)*The -f option shows appended data as the file grows.( )*