This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new e829d2cc85 PHOENIX-7453 Fix Phoenix to compile with commons-cli 1.9
(#2071)
e829d2cc85 is described below
commit e829d2cc85f36a83535fcf897552bd6595addc34
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Feb 5 14:47:54 2025 +0100
PHOENIX-7453 Fix Phoenix to compile with commons-cli 1.9 (#2071)
---
phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
index 341a94df7b..705ee5da25 100644
--- a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
+++ b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
@@ -156,7 +156,7 @@ public class Pherf {
}
globalProperties =
PherfConstants.create().getProperties(PherfConstants.PHERF_PROPERTIES, false);
- dropPherfTablesRegEx = command.getOptionValue("drop", null);
+ dropPherfTablesRegEx = command.getOptionValue("drop");
monitor = command.hasOption("m");
String
monitorFrequency =
@@ -172,7 +172,7 @@ public class Pherf {
multiTenantWorkload = command.hasOption("mt");
executeQuerySets = command.hasOption("q");
zookeeper = command.getOptionValue("z", "localhost");
- queryHint = command.getOptionValue("hint", null);
+ queryHint = command.getOptionValue("hint");
isFunctional = command.hasOption("diff");
listFiles = command.hasOption("listFiles");
applySchema = !command.hasOption("disableSchemaApply");
@@ -189,8 +189,8 @@ public class Pherf {
command.getOptionValue("writerThreadSize",
globalProperties.getProperty("pherf.default.dataloader.threadpool"));
globalProperties.setProperty("pherf.default.dataloader.threadpool",
writerThreadPoolSize);
- label = command.getOptionValue("label", null);
- compareResults = command.getOptionValue("compare", null);
+ label = command.getOptionValue("label");
+ compareResults = command.getOptionValue("compare");
compareType = command.hasOption("useAverageCompareType") ?
CompareType.AVERAGE : CompareType.MINIMUM;
thinDriver = command.hasOption("thin");
if (thinDriver) {