Skip to content

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

Open
arvindKandpal-ksolves wants to merge 1 commit into
apache:branch-2.6from
arvindKandpal-ksolves:HBASE-30552-branch-2.6
Open

arvindKandpal-ksolves wants to merge 1 commit into
apache:branch-2.6from
arvindKandpal-ksolves:HBASE-30552-branch-2.6

Conversation

@arvindKandpal-ksolves

@arvindKandpal-ksolves arvindKandpal-ksolves commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Backport to branch-2.6.

The usage text of WALPerformanceEvaluation does not match how the tool parses its arguments. On branch-2.6 the class is in hbase-server/src/test.

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.
  • TestFSHLogProvider: add a test that runs the tool with "-traceFreq 0.5".

The ArrayIndexOutOfBoundsException part of the master change is not needed here, because branch-2.6 already catches Exception in the argument loop.

Testing:

  • Cherry-pick from master with conflicts resolved for the different file location.

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