Siyao Meng created HDDS-3574: -------------------------------- Summary: Implement ofs://: Override getTrashRoot Key: HDDS-3574 URL: https://issues.apache.org/jira/browse/HDDS-3574 Project: Hadoop Distributed Data Store Issue Type: Sub-task Reporter: Siyao Meng Assignee: Siyao Meng
[~pifta] found if we delete file with Hadoop shell, namely {{hadoop fs -rm}}, without {{-skipTrash}} option, the operation would fail in OFS due to the client is renaming the file to {{/user/<username>/.Trash/}} because renaming across different buckets is not allowed in Ozone. (Unless the file happens to be under {{/user/<username>/}}, apparently.) We could override {{getTrashRoot()}} in {{BasicOzoneFileSystem}} to a dir under the same bucket to mitigate the problem. Thanks [~g.umamah...@gmail.com] for the suggestion. This raises one more problem though: We need to implement trash clean up on OM. Will open a new jira for this. CC [~arp] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org