hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen O'Donnell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13656) fs -expunge to take a filesystem
Date Fri, 01 Mar 2019 16:41:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16781859#comment-16781859

Stephen O'Donnell commented on HADOOP-13656:

[~shwetayakkali] Are you planning to work on this issue? It was raised in HADOOP-16140 where
I was adding a new option to the expunge command.

I think we can add the ability to pass in a file system with some changes only in the Delete.Expunge
class as the trash already has the ability to be instantiated with a different filesystem
than the default.

> 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
> 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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message