[
https://issues.apache.org/jira/browse/HDDS-9268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sadanand Shenoy resolved HDDS-9268.
-----------------------------------
Resolution: Fixed
> [snapshot] Update list of snapshot apis to include lsDiff details
> -----------------------------------------------------------------
>
> Key: HDDS-9268
> URL: https://issues.apache.org/jira/browse/HDDS-9268
> Project: Apache Ozone
> Issue Type: Bug
> Components: Snapshot
> Reporter: Jyotirmoy Sinha
> Assignee: Jyotirmoy Sinha
> Priority: Major
> Labels: ozone-snapshot, pull-request-available
>
> Update list of snapshot apis to include lsDiff details
> {code:java}
> [root@vc0101 ~]# ozone sh snapshot -h
> Usage: ozone sh snapshot [-hV] [COMMAND]
> Snapshot specific operations
> -h, --help Show this help message and exit.
> -V, --version Print version information and exit.
> Commands:
> create Create a snapshot
> delete Delete a snapshot
> list, ls List snapshots for the buckets.
> diff, snapshotDiff Get the differences between two
> snapshots
> listDiff, listDiffJob, lsDiff, lsDiffJob List snapshotDiff jobs for a
> bucket.
> [root@vc0101 ~]# ozone sh snapshot lsDiff -h
> Usage: ozone sh snapshot listDiff [-ahV] [-s=<jobStatus>] <value>
> List snapshotDiff jobs for a bucket.
> <value> URI of the volume/bucket.
> Ozone URI could either be a full URI or short
> URI.
> Full URI should start with o3://, in case of
> non-HA
> clusters it should be followed by the host name
> and
> optionally the port number. In case of HA
> clusters
> the service id should be used. Service id
> provides
> a
> logical name for multiple hosts and it is defined
> in the property ozone.om.service.ids.
> Example of a full URI with host name and port
> number
> for a key:
> o3://omhostname:9862/vol1/bucket1/key1
> With a service id for a volume:
> o3://omserviceid/vol1/
> Short URI should start from the volume.
> Example of a short URI for a bucket:
> vol1/bucket1
> Any unspecified information will be identified
> from
> the config files. -a, --all
> List all jobs regardless of status.
> -h, --help Show this help message and exit.
> -s, --status=<jobStatus> List jobs based on status.
> Accepted values are: queued, in_progress, done,
> failed, rejected
> -V, --version Print version information and exit. {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]