Skip to content

Commit

Permalink
PHOENIX-7453 Fix Phoenix to compile with commons-cli 1.9 (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty authored Feb 5, 2025
1 parent fbe60da commit e8f50f9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public Pherf(String[] args) throws Exception {
}

globalProperties = PherfConstants.create().getProperties(PherfConstants.PHERF_PROPERTIES, false);
dropPherfTablesRegEx = command.getOptionValue("drop", null);
dropPherfTablesRegEx = command.getOptionValue("drop");
monitor = command.hasOption("m");
String
monitorFrequency =
Expand All @@ -176,7 +176,7 @@ public Pherf(String[] args) throws Exception {
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");
Expand All @@ -193,8 +193,8 @@ public Pherf(String[] args) throws Exception {
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) {
Expand Down

0 comments on commit e8f50f9

Please sign in to comment.