hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3127) rm /user/<username>/.Trash/____ only moves it back to .Trash
Date Fri, 28 Mar 2008 22:56:24 GMT
rm /user/<username>/.Trash/____ only moves it back to .Trash 
-------------------------------------------------------------

                 Key: HADOOP-3127
                 URL: https://issues.apache.org/jira/browse/HADOOP-3127
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
    Affects Versions: 0.16.1
            Reporter: Koji Noguchi
            Priority: Minor


In 0.15 or before, any dfs -rm call for  files under Trash were deleted. 
>From 0.16, it just renames it back to Trash.

In Trash.java:moveToTrash() 
{noformat}
if (path.toString().startsWith(trash.toString()))
{noformat}

seems like trash.toString() is fully qualified, and path.toString() is not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message