diff --git a/CHANGES.txt b/CHANGES.txt index b90bd7fb4e2..0ed8c640bfd 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -154,6 +154,9 @@ Trunk (unreleased changes) HADOOP-3315. Add a new, binary file foramt, TFile. (Hong Tang via cdouglas) + HADOOP-6080. Introduce -skipTrash option to rm and rmr. + (Jakob Homan via shv) + IMPROVEMENTS HADOOP-4565. Added CombineFileInputFormat to use data locality information diff --git a/src/docs/src/documentation/content/xdocs/hdfs_shell.xml b/src/docs/src/documentation/content/xdocs/hdfs_shell.xml index c9dace03f6c..9544f480e8f 100644 --- a/src/docs/src/documentation/content/xdocs/hdfs_shell.xml +++ b/src/docs/src/documentation/content/xdocs/hdfs_shell.xml @@ -325,10 +325,13 @@
rm

- Usage: hadoop fs -rm URI [URI …] + Usage: hadoop fs -rm [-skipTrash] URI [URI …]

- Delete files specified as args. Only deletes non empty directory and files. Refer to rmr for recursive deletes.
+ Delete files specified as args. Only deletes non empty directory and files. If the -skipTrash option + is specified, the trash, if enabled, will be bypassed and the specified file(s) deleted immediately. This can be + useful when it is necessary to delete files from an over-quota directory. + Refer to rmr for recursive deletes.
Example: