Skip to content

[WIP] Add CLI commands for interacting with PinotFS#6059

Open
bradengroom wants to merge 1 commit intoapache:masterfrom
bradengroom:issue-5951
Open

[WIP] Add CLI commands for interacting with PinotFS#6059
bradengroom wants to merge 1 commit intoapache:masterfrom
bradengroom:issue-5951

Conversation

@bradengroom
Copy link
Copy Markdown
Contributor

Description

Add a description of your PR here.
A good description should include pointers to an issue or design document, etc.

Upgrade Notes

Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

  • Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

  • Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

  • New configuration options
  • Deprecation of configurations
  • Signature changes to public methods/interfaces
  • New plugins added or old plugins removed
  • Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.

If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text

Documentation

If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

@bradengroom bradengroom changed the title Add CLI commands for interacting with PinotFS [WIP] Add CLI commands for interacting with PinotFS Sep 25, 2020
@bradengroom
Copy link
Copy Markdown
Contributor Author

I still need to add tests for this

return Arrays.stream(file.list()).map(s -> new File(file, s)).map(File::getAbsolutePath).toArray(String[]::new);
} else {
return Files.walk(Paths.get(fileUri)).
return Files.walk(Paths.get(file.getAbsolutePath())).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any side-effect of this?

return _subCommand.execute();
}

public void printUsage() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't there a printUsage in the base class?

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.

2 participants