[WIP] Add CLI commands for interacting with PinotFS#6059
Open
bradengroom wants to merge 1 commit intoapache:masterfrom
Open
[WIP] Add CLI commands for interacting with PinotFS#6059bradengroom wants to merge 1 commit intoapache:masterfrom
bradengroom wants to merge 1 commit intoapache:masterfrom
Conversation
Contributor
Author
|
I still need to add tests for this |
mayankshriv
reviewed
Sep 29, 2020
| 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())). |
Contributor
There was a problem hiding this comment.
Any side-effect of this?
| return _subCommand.execute(); | ||
| } | ||
|
|
||
| public void printUsage() { |
Contributor
There was a problem hiding this comment.
Isn't there a printUsage in the base class?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
backward-incompat, and complete the section below on Release Notes)Does this PR fix a zero-downtime upgrade introduced earlier?
backward-incompat, and complete the section below on Release Notes)Does this PR otherwise need attention when creating release notes? Things to consider:
release-notesand 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