Steve Loughran created HADOOP-13585:
---------------------------------------

             Summary: shell rm command to not rename to ~/.Trash in object 
stores
                 Key: HADOOP-13585
                 URL: https://issues.apache.org/jira/browse/HADOOP-13585
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: util
    Affects Versions: 2.8.0
            Reporter: Steve Loughran


When you do a {{hadoop fs -rm -s3a://bucket/large-file}} there's a long delay 
and then you are told that it's been moved to 
{{s3a://Users/stevel/.Trash/current/large-file}}. Where it still incurs costs. 
You need to then delete that file using {{-skipTrash}} because the {{fs 
-expunge}} command only works on the local fs: you can't point it at an object 
store unless that is the default FS.

I'd like an option to tell the shell to tell it that it should bypass the 
renaming on an FS-by-FS basis. And the for {{fs expunge}} to take a filesystem 
as an optional argument.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to