You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sadanand Shenoy (Jira)" <ji...@apache.org> on 2021/10/19 06:13:00 UTC

[jira] [Created] (HDDS-5866) Discrepancy in Trash directory in ofs vs o3fs

Sadanand Shenoy created HDDS-5866:
-------------------------------------

             Summary: Discrepancy in Trash directory in ofs vs o3fs
                 Key: HDDS-5866
                 URL: https://issues.apache.org/jira/browse/HDDS-5866
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Sadanand Shenoy
            Assignee: Sadanand Shenoy


The renamed destination keys are different for ofs and o3fs.
{code:java}
# ozone fs -rm o3fs://xyz.abc.ozone1/o3fs
21/10/11 11:22:31 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
21/10/11 11:22:31 INFO fs.TrashPolicyDefault: Moved: 'o3fs://xyz.abc.ozone1/o3fs' to trash at: /.Trash/om/Current/o3fs
# ozone fs -rm ofs://ozone1/abc/xyz/ofs
21/10/11 11:22:00 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
21/10/11 11:22:00 INFO fs.TrashPolicyDefault: Moved: 'ofs://ozone1/abc/xyz/ofs' to trash at: ofs://ozone1/abc/xyz/.Trash/om/Current/abc/xyz/ofs
# ozone fs -ls -R ofs://ozone1/abc/xyz
-rw-rw-rw- 3 om om 0 2021-10-11 11:22 ofs://ozone1/abc/xyz/.Trash/om/Current/abc/xyz/ofs
-rw-rw-rw- 3 om om 0 2021-10-11 11:22 ofs://ozone1/abc/xyz/.Trash/om/Current/o3fs
{code}
 

Omitting the volume and bucket name from OFS trash key name since its redundant.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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