Description
you can't pass in a filesystem or object store to {{fs -expunge}; you have to change the default fs
hadoop fs -expunge -D fs.defaultFS=s3a://bucket/
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.
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-16140 hadoop fs expunge to add -immediate option to purge trash immediately
- Resolved