You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Krishna Kumar Asawa (Jira)" <ji...@apache.org> on 2023/09/25 05:45:00 UTC
[jira] [Assigned] (HDDS-9317) [snapshot] Ozone snapshot diff should provide an option for displaying output as json format
[ https://issues.apache.org/jira/browse/HDDS-9317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krishna Kumar Asawa reassigned HDDS-9317:
-----------------------------------------
Assignee: Hemant Kumar
> [snapshot] Ozone snapshot diff should provide an option for displaying output as json format
> --------------------------------------------------------------------------------------------
>
> Key: HDDS-9317
> URL: https://issues.apache.org/jira/browse/HDDS-9317
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI, Snapshot
> Reporter: Jyotirmoy Sinha
> Assignee: Hemant Kumar
> Priority: Major
> Labels: ozone-snapshot
>
> Currently ozone snapshot diff does not provide option to display output in json format. There should be an option for the same.
> {code:java}
> # ozone sh snapshot diff --help
> Usage: ozone sh snapshot diff [-chV] [-p=<pageSize>] [-t=<token>] <value>
> <fromSnapshot> <toSnapshot>
> Get the differences between two snapshots
> <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. <fromSnapshot> from snapshot name
> <toSnapshot> to snapshot name
> -c, --cancel Request to cancel a running SnapshotDiff job. If the
> job is not IN_PROGRESS, the request will fail.
> -h, --help Show this help message and exit.
> -p, --page-size=<pageSize>
> number of diff entries to be returned in the response
> (optional)
> -t, --token=<token> continuation token for next page (optional)
> -V, --version Print version information and exit. {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