[ https://issues.apache.org/jira/browse/HADOOP-13656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793897#comment-16793897 ]
Siyao Meng commented on HADOOP-13656: ------------------------------------- [~shwetayakkali] 3. There's an extra whitespace after line 285, "... will be expunged ", when you apply your own patch you will see the warning: {code:java} $ git apply HADOOP-13656.004.patch HADOOP-13656.004.patch:80: trailing whitespace. If the `-fs` option is passed, all files in the given filepath will be expunged warning: 1 line adds whitespace errors. {code} > 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 > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org