Skip to content

Commit e0cd718

Browse files
committed
svn merge -c 1096522 from trunk for HADOOP-7241.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/yahoo-merge@1126781 13f79535-47bb-0310-9956-ffa450edef68
1 parent ec1452b commit e0cd718

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ Release 0.22.0 - Unreleased
254254
HADOOP-7187. Fix socket leak in GangliaContext. (Uma Maheswara Rao G
255255
via szetszwo)
256256

257+
HADOOP-7241. fix typo of command 'hadoop fs -help tail'.
258+
(Wei Yongjun via eli)
259+
257260
OPTIMIZATIONS
258261

259262
HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).

src/java/org/apache/hadoop/fs/FsShell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ private void printHelp(String cmd) {
14231423

14241424
String tail = TAIL_USAGE
14251425
+ ": Show the last 1KB of the file. \n"
1426-
+ "\t\tThe -f option shows apended data as the file grows. \n";
1426+
+ "\t\tThe -f option shows appended data as the file grows. \n";
14271427

14281428
String chmod = FsShellPermissions.CHMOD_USAGE + "\n" +
14291429
"\t\tChanges permissions of a file.\n" +

src/test/core/org/apache/hadoop/cli/testConf.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
</comparator>
611611
<comparator>
612612
<type>RegexpComparator</type>
613-
<expected-output>^( |\t)*The -f option shows apended data as the file grows.( )*</expected-output>
613+
<expected-output>^( |\t)*The -f option shows appended data as the file grows.( )*</expected-output>
614614
</comparator>
615615
</comparators>
616616
</test>

0 commit comments

Comments
 (0)