You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sravani Revuri (Jira)" <ji...@apache.org> on 2026/06/24 04:58:00 UTC
[jira] [Created] (HDDS-15653) Freon randomkeys does not throw error when inputs are negative
Sravani Revuri created HDDS-15653:
-------------------------------------
Summary: Freon randomkeys does not throw error when inputs are negative
Key: HDDS-15653
URL: https://issues.apache.org/jira/browse/HDDS-15653
Project: Apache Ozone
Issue Type: Bug
Reporter: Sravani Revuri
Assignee: Sravani Revuri
Running {{ozone freon rk}} with a negative value for --numOfVolumes , --numOfBuckets or --numOfKeys does not fail with an error. Instead, the command prints a progress bar with negative value and hangs.
{code}
bash-5.1$ ozone freon rk --numOfVolumes=1 --numOfBuckets=1 --numOfKeys=-1
2026-06-24 04:37:36,027 [main] INFO freon.RandomKeyGenerator: Number of Threads: 10
2026-06-24 04:37:36,035 [main] INFO freon.RandomKeyGenerator: Number of Volumes: 1.
2026-06-24 04:37:36,035 [main] INFO freon.RandomKeyGenerator: Number of Buckets per Volume: 1.
2026-06-24 04:37:36,035 [main] INFO freon.RandomKeyGenerator: Number of Keys per Bucket: -1.
2026-06-24 04:37:36,035 [main] INFO freon.RandomKeyGenerator: Key size: 10240 bytes
2026-06-24 04:37:36,036 [main] INFO freon.RandomKeyGenerator: Buffer size: 4096 bytes
2026-06-24 04:37:36,036 [main] INFO freon.RandomKeyGenerator: validateWrites : false
2026-06-24 04:37:36,036 [main] INFO freon.RandomKeyGenerator: Number of Validate Threads: 1
2026-06-24 04:37:36,036 [main] INFO freon.RandomKeyGenerator: cleanObjects : false
2026-06-24 04:37:36,038 [main] INFO freon.RandomKeyGenerator: Starting progress bar Thread.
-0.00% |? | 0/-1 Time: 0:00:00|
2026-06-24 04:37:36,044 [pool-2-thread-1] INFO rpc.RpcClient: Creating Volume: vol-0-97512, with hadoop as owner and space quota set to -1 bytes, counts quota set to -1
2026-06-24 04:37:36,083 [pool-2-thread-2] INFO rpc.RpcClient: Creating Bucket: vol-0-97512/bucket-0-75850, with server-side default bucket layout, hadoop as owner, Versioning false, Storage Type set to DISK and Encryption set to false, Replication Type set to server-side default replication type, Namespace Quota set to -1, Space Quota set to -1
^C
***************************************************
Status: Success
Git Base Revision: 9d50c6884666e794e45102260a4017bb31802e1b
Number of Volumes created: 1
Number of Buckets created: 1
Number of Keys added: 0
Average Time spent in volume creation: 00:00:00,002
Average Time spent in bucket creation: 00:00:00,001
Average Time spent in key creation: 00:00:00,000
Average Time spent in key write: 00:00:00,000
Total bytes written: 0
Total Execution time: 00:00:26,117
***************************************************
{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