[
https://issues.apache.org/jira/browse/HDFS-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386273#comment-14386273
]
Akira AJISAKA commented on HDFS-8002:
-------------------------------------
Thanks [~mdrob] for the report and thanks [~brahmareddy] for the patch.
One comment: The patch looks redundant for me. Could you document the actual
path once and use trash instead of writing the actual path every time? Such as
{code}
HDFS first renames it to a file in the trash directory
(`/user/<username>/.Trash`). The file can be restored quickly as long as it
remains in trash. ...
{code}
> Website refers to /trash directory
> ----------------------------------
>
> Key: HDFS-8002
> URL: https://issues.apache.org/jira/browse/HDFS-8002
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation
> Reporter: Mike Drob
> Assignee: Brahma Reddy Battula
> Attachments: HDFS-8002.patch
>
>
> On
> http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html#File_Deletes_and_Undeletes
> the section on trash refers to files residing in {{/trash}}.
> I think this is an error, as files actually go to user specific trash
> directories like {{/user/hdfs/.Trash}}
> Either the site needs to be updated to mention user specific directories, or
> if this is a change from previous behaviour then maybe that can be mentioned
> instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)