key checksum
Contents
Usage
$ ozone sh key checksum [-hV] [-c=<mode>]
<value>
Parameter | Description |
---|---|
value |
A key URI. It can be a full URI (starts with |
mode |
Method of combining chunk checksums. Possible values are |
-h, --help |
Prints out a help manual for this command |
-V, --version |
Prints out version information and exits |
Examples
Consider a volume vol1
with a bucket bucket1
created within. That bucket contains a key key1
. To print the checksum information about that key, call the following command:
$ ozone sh key checksum vol1/bucket1/key1
The output depends on the key configuration, but overall should be similar to the following:
{
"volumeName" : "vol1",
"bucketName" : "bucket1",
"name" : "key1",
"dataSize" : 14,
"algorithm" : "COMPOSITE-CRC32",
"checksum" : "B4B9291A"
}