HDDS-15081. Add Internal Scaffold#10146
Merged
peterxcli merged 1 commit intoapache:masterfrom Apr 28, 2026
Merged
Conversation
f4e2a22 to
7095b46
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Introduces an internal, hidden ozone local CLI scaffold to support future local single-node Ozone runtime commands.
Changes:
- Adds
OzoneLocalCLI entrypoint with a hiddenrunplaceholder subcommand. - Introduces a
LocalOzoneRuntimeinterface defining the local runtime contract. - Adds unit tests verifying picocli metadata and help output behavior for the new command.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/local/OzoneLocal.java | Adds the hidden ozone local command skeleton and hidden run placeholder subcommand. |
| hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/local/LocalOzoneRuntime.java | Defines a runtime contract interface for future local single-node runtime implementations. |
| hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/local/package-info.java | Introduces package-level documentation for the new org.apache.hadoop.ozone.local package. |
| hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/local/TestOzoneLocal.java | Adds unit tests for command metadata, subcommand registration, and help output hiding behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
Thanks @henrybear327 for the patch, @ivandika3 for creating the label! |
Contributor
Author
Thanks you both for the help and review! |
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.
What changes were proposed in this pull request?
Introduce
ozone localcommand skeleton.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15081
How was this patch tested?
With unit test.