Description
HDFS-15488 adds a cmd to list all snapshots for a given snapshottable directory. A snapshot can be just marked as deleted with ordered deletion config set. This Jira aims to add deletion status to cmd output.
SAMPLE OUTPUT:
sbanerjee-MBP15:hadoop-3.4.0-SNAPSHOT sbanerjee$ bin/hdfs lsSnapshottableDir drwxr-xr-x 0 sbanerjee supergroup 0 2020-07-27 11:52 2 65536 /user sbanerjee-MBP15:hadoop-3.4.0-SNAPSHOT sbanerjee$ bin/hdfs lsSnapshot /user drwxr-xr-x 0 sbanerjee supergroup 0 2020-07-27 11:52 1 ACTIVE /user/.snapshot/s1 drwxr-xr-x 0 sbanerjee supergroup 0 2020-07-27 11:51 0 DELETED /user/.snapshot/s20200727-115156.407
Attachments
Attachments
Issue Links
- Dependent
-
HDFS-15481 Ordered snapshot deletion: garbage collect deleted snapshots
-
- Resolved
-
- links to