[ 
https://issues.apache.org/jira/browse/HDFS-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457446#comment-13457446
 ] 

Andy Isaacson commented on HDFS-3920:
-------------------------------------

Hmmm, now I'm confused.  I saw this hunk in the patch:
{code}
--- 
hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/file_system_shell.xml
+++ 
hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/file_system_shell.xml
@@ -418,15 +418,15 @@
                                <code>Usage: hdfs dfs -rm [-skipTrash] URI [URI 
&#x2026;] </code>
                        </p>
                        <p>
-          Delete files specified as args. Only deletes non empty directory and 
files. If the <code>-skipTrash</code> option
+          Delete files specified as args. Only deletes files. If the 
<code>-skipTrash</code> 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.<br/>
+          Use -rm -r or rmr for recursive deletes.<br/>
           Example:
           </p>
{code}
That doesn't seem to be part of this commit, it may be HADOOP-8808?  But I see 
that change was not committed yet, so it's not a revert.  My apologies for 
misreading.


                
> libwebdhfs code cleanup: string processing and using strerror consistently to 
> handle all errors
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3920
>                 URL: https://issues.apache.org/jira/browse/HDFS-3920
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-3920-001.patch
>
>
> 1. Clean up code for string processing;
> 2. Using strerror consistently for error handling;
> 3. Use sprintf to replace decToOctal
> 4. other issues requiring fixing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to