You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Christos Bisias (Jira)" <ji...@apache.org> on 2023/01/05 15:23:00 UTC
[jira] [Updated] (HDDS-7513) [Snapshot] Support list snapshots using fs -ls
[ https://issues.apache.org/jira/browse/HDDS-7513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christos Bisias updated HDDS-7513:
----------------------------------
Status: Patch Available (was: Open)
> [Snapshot] Support list snapshots using fs -ls
> ----------------------------------------------
>
> Key: HDDS-7513
> URL: https://issues.apache.org/jira/browse/HDDS-7513
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Assignee: Christos Bisias
> Priority: Major
> Labels: pull-request-available
>
> We should support listing all snapshots under FileSystem list just like HDFS does (at least for FSO buckets, or LEGACY buckets when FSO is enabled):
> {code:title=HDFS behavior}
> $ hdfs dfsadmin -allowSnapshot /tmp/dir1
> Allowing snapshot on /tmp/dir1 succeeded
> $ hdfs dfs -createSnapshot /tmp/dir1
> Created snapshot /tmp/dir1/.snapshot/s20221118-053456.558
> $ hdfs dfs -createSnapshot /tmp/dir1 snap2
> Created snapshot /tmp/dir1/.snapshot/snap2
> $ hdfs dfs -ls /tmp/dir1/.snapshot/
> Found 2 items
> drwxr-xr-x - om supergroup 0 2022-11-18 05:34 /tmp/dir1/.snapshot/s20221118-053456.558
> drwxr-xr-x - om supergroup 0 2022-11-18 14:30 /tmp/dir1/.snapshot/snap2
> {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