HADOOP-11120. hadoop fs -rmr gives wrong advice. Contributed by Juliet Houghland.

This commit is contained in:
Andrew Wang 2015-05-05 08:37:37 -07:00
parent 9356cf8676
commit 05adc76ace
3 changed files with 4 additions and 2 deletions

View File

@ -528,6 +528,8 @@ Release 2.8.0 - UNRELEASED
HADOOP-11328. ZKFailoverController does not log Exception when doRun raises
errors. (Tianyin Xu via ozawa)
HADOOP-11120. hadoop fs -rmr gives wrong advice. (Juliet Hougland via wang)
OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp

View File

@ -141,7 +141,7 @@ class Delete {
@Override
public String getReplacementCommand() {
return "rm -r";
return "-rm -r";
}
}

View File

@ -453,7 +453,7 @@
</comparator>
<comparator>
<type>RegexpComparator</type>
<expected-output>^\s*\(DEPRECATED\) Same as 'rm -r'\s*</expected-output>
<expected-output>^\s*\(DEPRECATED\) Same as '-rm -r'\s*</expected-output>
</comparator>
</comparators>
</test>