This is an automated email from the ASF dual-hosted git repository.
sodonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new ac391aa0ce HDDS-9306: Default reads/lists to 0 (freon ockrw) (#5314)
ac391aa0ce is described below
commit ac391aa0ce2e377c9533f259a965f7e9bec97ea7
Author: Ritesh H Shukla <[email protected]>
AuthorDate: Wed Sep 20 08:56:59 2023 -0700
HDDS-9306: Default reads/lists to 0 (freon ockrw) (#5314)
---
.../apache/hadoop/ozone/freon/OzoneClientKeyReadWriteListOps.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyReadWriteListOps.java
b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyReadWriteListOps.java
index d8540a0540..4ad01f127f 100644
---
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyReadWriteListOps.java
+++
b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyReadWriteListOps.java
@@ -105,15 +105,17 @@ public class OzoneClientKeyReadWriteListOps extends
BaseFreonGenerator
@CommandLine.Option(names = {"--percentage-read"},
description = "Percentage of read tasks in mix workload."
+ " The remainder of the percentage will be divided between write"
- + " and list tasks.",
- required = true)
+ + " and list tasks. By default this is 0%, to populate a range.",
+ required = false,
+ defaultValue = "0")
private int percentageRead;
@CommandLine.Option(names = {"--percentage-list"},
description = "Percentage of list tasks in mix workload."
+ " The remainder of the percentage will be divided between write"
+ " and read tasks.",
- required = true)
+ required = false,
+ defaultValue = "0")
private int percentageList;
@CommandLine.Option(names = {"--max-list-result"},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]