Joe McDonnell has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/25161 )

Change subject: IMPALA-15603: Convert perf scripts from optparse to argparse
......................................................................

IMPALA-15603: Convert perf scripts from optparse to argparse

Since further work is planned on the perf scripts, it's a good
time to do a bit of cleanup and modernization. This switches the
scripts from optparse to argparse. This is just a mechanical
change with no change to the flags, defaults, or help text.
--iterations and --num_impalads are now parsed as ints.
We drop any unnecessary "dest" arguments as argparse sets the
destination variable based on the flag name.

Testing:
- Verified --help output and rejection of invalid arguments for each
  script.
- Ran report_benchmark_results.py before and after the change on the
  same result file and confirmed identical output.

Change-Id: I60cbd8f90d142f1663c765585681fd8e098df4d9
Assisted-by: Claude Sonnet 5.5 (Claude Code)
Reviewed-on: http://gerrit.cloudera.org:8080/25161
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
M bin/run-workload.py
M bin/single_node_perf_run.py
M tests/benchmark/report_benchmark_results.py
3 files changed, 183 insertions(+), 183 deletions(-)

Approvals:
  Jason Fehr: Looks good to me, approved
  Joe McDonnell: Verified

--
To view, visit http://gerrit.cloudera.org:8080/25161
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I60cbd8f90d142f1663c765585681fd8e098df4d9
Gerrit-Change-Number: 25161
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>

Reply via email to