HADOOP-11120. hadoop fs -rmr gives wrong advice. Contributed by Juliet Houghland.
(cherry picked from commit 05adc76ace
)
This commit is contained in:
parent
0f30913ea8
commit
84d8ba4f72
|
@ -70,6 +70,8 @@ Release 2.8.0 - UNRELEASED
|
||||||
HADOOP-11328. ZKFailoverController does not log Exception when doRun raises
|
HADOOP-11328. ZKFailoverController does not log Exception when doRun raises
|
||||||
errors. (Tianyin Xu via ozawa)
|
errors. (Tianyin Xu via ozawa)
|
||||||
|
|
||||||
|
HADOOP-11120. hadoop fs -rmr gives wrong advice. (Juliet Hougland via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
|
|
@ -141,7 +141,7 @@ class Delete {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getReplacementCommand() {
|
public String getReplacementCommand() {
|
||||||
return "rm -r";
|
return "-rm -r";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -429,7 +429,7 @@
|
||||||
</comparator>
|
</comparator>
|
||||||
<comparator>
|
<comparator>
|
||||||
<type>RegexpComparator</type>
|
<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>
|
</comparator>
|
||||||
</comparators>
|
</comparators>
|
||||||
</test>
|
</test>
|
||||||
|
|
Loading…
Reference in New Issue