You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/03/10 11:58:00 UTC

[jira] [Created] (HDDS-8133) Create ozone sh key checksum command

Stephen O'Donnell created HDDS-8133:
---------------------------------------

             Summary: Create ozone sh key checksum command
                 Key: HDDS-8133
                 URL: https://issues.apache.org/jira/browse/HDDS-8133
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone CLI
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


Some earlier Jiras added the feature to retrieve the checksum of an Ozone key either as COMPOSITE_CRC or MD5 or the chunk checksum MD5s.

This checksum is only accessible via the Hadoop API.

This Jira adds a CLI command to Ozone to retrieve the same information, eg:

{code}
bash-4.2$ ozone sh key checksum /vol1/bucket/512    
{
  "volumeName" : "vol1",
  "bucketName" : "bucket",
  "name" : "512",
  "dataSize" : 512,
  "algorithm" : "COMPOSITE-CRC32",
  "checksum" : "5A4FA397"
}
{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