Skip to content

HBASE-30552 WALPerformanceEvaluation usage text does not match its argument parsing (branch-3) - #8906

Open
arvindKandpal-ksolves wants to merge 2 commits into
apache:branch-3from
arvindKandpal-ksolves:HBASE-30552-branch-3
Open

arvindKandpal-ksolves wants to merge 2 commits into
apache:branch-3from
arvindKandpal-ksolves:HBASE-30552-branch-3

Conversation

@arvindKandpal-ksolves

Copy link
Copy Markdown
Contributor

Backport to branch-3.

The usage text of WALPerformanceEvaluation does not match how the tool parses its arguments.

Changes:

  • -traceFreq: also skip its value, so commands that still pass "-traceFreq " work again (broken since HBASE-25373). Usage now says it is not supported any more.
  • Usage: "-h|-help" changed to "-h|--help", which is what the parser accepts.
  • Usage: add the missing "-compress" option.
  • An option given without its value now prints the usage instead of throwing ArrayIndexOutOfBoundsException.
  • TestFSHLogProviderWithConcurrentWrites: add a test that runs the tool with "-traceFreq 0.5".

Testing:

  • Clean cherry-pick from master.
  • TestFSHLogProviderWithConcurrentWrites and TestBoundedRegionGroupingStrategyUsingWPETool pass on branch-3; spotless passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant