Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using usageHelp instead of deprecated help in picocli commands #9608

Merged
merged 4 commits into from
Oct 25, 2022

Conversation

navina
Copy link
Contributor

@navina navina commented Oct 17, 2022

Some of the commands don't print help properly due to the use of a deprecated help annotation. This PT attempts to clean-up some of the commands launched by PinotToolLauncher.

Labels: cleanup

@codecov-commenter
Copy link

Codecov Report

Merging #9608 (8646c95) into master (fafb518) will increase coverage by 34.74%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #9608       +/-   ##
=============================================
+ Coverage     28.06%   62.81%   +34.74%     
- Complexity       53     4707     +4654     
=============================================
  Files          1935     1935               
  Lines        103815   103815               
  Branches      15757    15757               
=============================================
+ Hits          29134    65207    +36073     
+ Misses        71808    33729    -38079     
- Partials       2873     4879     +2006     
Flag Coverage Δ
integration1 25.86% <ø> (-0.04%) ⬇️
integration2 24.54% <ø> (-0.02%) ⬇️
unittests1 67.34% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ntroller/helix/core/minion/TaskMetricsEmitter.java 34.88% <0.00%> (-51.17%) ⬇️
...r/validation/RealtimeSegmentValidationManager.java 55.40% <0.00%> (-18.92%) ⬇️
.../controller/helix/core/SegmentDeletionManager.java 52.50% <0.00%> (-9.38%) ⬇️
...roller/helix/core/relocation/SegmentRelocator.java 72.97% <0.00%> (-5.41%) ⬇️
...e/pinot/controller/helix/SegmentStatusChecker.java 72.15% <0.00%> (-4.55%) ⬇️
...lix/core/minion/PinotHelixTaskResourceManager.java 29.64% <0.00%> (-2.27%) ⬇️
...r/helix/SegmentOnlineOfflineStateModelFactory.java 56.43% <0.00%> (-1.99%) ⬇️
.../apache/pinot/controller/util/TableSizeReader.java 76.22% <0.00%> (-1.64%) ⬇️
...lix/core/realtime/PinotRealtimeSegmentManager.java 71.20% <0.00%> (-1.05%) ⬇️
.../core/realtime/PinotLLCRealtimeSegmentManager.java 57.20% <0.00%> (-0.76%) ⬇️
... and 1084 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@navina navina requested a review from Jackie-Jiang October 25, 2022 18:44
Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

} else {
perfBenchmarkRunner.execute();
}
commandLine.execute();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not ignore the help

@Jackie-Jiang Jackie-Jiang merged commit 382d177 into apache:master Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants