You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shweta (JIRA)" <ji...@apache.org> on 2019/05/02 21:33:00 UTC
[jira] [Commented] (HADOOP-13656) fs -expunge to take a filesystem
[ https://issues.apache.org/jira/browse/HADOOP-13656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832007#comment-16832007 ]
Shweta commented on HADOOP-13656:
---------------------------------
As per suggestions in the previous comments, I have added two more tests for testing behavior with different file system URIs which test the behavior of deletion when -expunge is called.
Uploaded patch v005 with additional tests. Please review. Thanks.
> fs -expunge to take a filesystem
> --------------------------------
>
> Key: HADOOP-13656
> URL: https://issues.apache.org/jira/browse/HADOOP-13656
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs
> Affects Versions: 2.7.3
> Reporter: Steve Loughran
> Assignee: Shweta
> Priority: Minor
> Attachments: HADOOP-13656.001.patch, HADOOP-13656.002.patch, HADOOP-13656.003.patch, HADOOP-13656.004.patch, HADOOP-13656.005.patch
>
>
> you can't pass in a filesystem or object store to {{fs -expunge}; you have to change the default fs
> {code}
> hadoop fs -expunge -D fs.defaultFS=s3a://bucket/
> {code}
> If the command took an optional filesystem argument, it'd be better at cleaning up object stores. Given that even deleted object store data runs up bills, this could be appreciated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org