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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to