You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/08/11 06:16:00 UTC

[jira] [Created] (HDDS-9157) [Snapshot] Print correct path to snapshot in `fs -createSnapshot`

Siyao Meng created HDDS-9157:
--------------------------------

             Summary: [Snapshot] Print correct path to snapshot in `fs -createSnapshot`
                 Key: HDDS-9157
                 URL: https://issues.apache.org/jira/browse/HDDS-9157
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Siyao Meng
            Assignee: Siyao Meng


Currently the FS CLI is not printing the correct path to snapshot when a subdirectory inside a bucket is specified:

{code}
bash-4.2$ ozone fs -createSnapshot ofs://om/vol1/buck2/dir3/subdir4/ snap1
Created snapshot ofs://om/vol1/buck2/dir3/subdir4/.snapshot/snap1
bash-4.2$ ozone fs -ls ofs://om/vol1/buck2/.snapshot/
Found 1 items
drwxrwxrwx   - hadoop hadoop          0 2023-08-11 05:17 ofs://om/vol1/buck2/.snapshot/snap1
bash-4.2$
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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