[ 
https://issues.apache.org/jira/browse/HDDS-15185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-15185:
------------------------------------
    Description: 
Follow-up for HDDS-11838:

{{OzoneInteractiveShell}} lives in {{ozone-cli-shell}}, and adds subcommands 
from the same module statically.  Dependencies for other subcommands 
({{admin}}, {{debug}}, etc.) are added only at runtime, hence the subcommands 
are found via reflection.  , dependencies are added only at runtime.

Goals of this task:
- create a new submodule {{ozone-cli-interactive}} for 
{{OzoneInteractiveShell}}, which should depend on all other CLI modules (except 
repair)
- change classpath of {{OzoneInteractiveShell}} in 
{{hadoop-ozone/dist/src/shell/ozone/ozone}} to the new module
- remove unnecessary dynamic classpath additions
- add {{ozone-cli-interactive}} as dependency in {{ozone-dist}}
- change {{OzoneInteractiveShell}} to add {{OzoneAdmin}}, etc. via regular 
method calls
- remove unused {{addDynamicSubcommand()}}

  was:
Follow-up for HDDS-11838:

{{OzoneInteractiveShell}} lives in {{ozone-cli-shell}}, and adds subcommands 
from the same module statically.  Dependencies for other subcommands 
({{admin}}, {{debug}}, etc.) are added only at runtime, hence the subcommands 
are found via reflection.  , dependencies are added only at runtime.

Goals of this task:
- create a new submodule {{ozone-cli-interactive}} for 
{{OzoneInteractiveShell}}, which should depend on all other CLI modules
- change classpath of {{OzoneInteractiveShell}} in 
{{hadoop-ozone/dist/src/shell/ozone/ozone}} to the new module
- remove unnecessary dynamic classpath additions
- change {{OzoneInteractiveShell}} to add {{OzoneAdmin}}, etc. via regular 
method calls
- remove unused {{addDynamicSubcommand()}}


> Create submodule ozone-cli-interactive
> --------------------------------------
>
>                 Key: HDDS-15185
>                 URL: https://issues.apache.org/jira/browse/HDDS-15185
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Will Xiao
>            Priority: Major
>
> Follow-up for HDDS-11838:
> {{OzoneInteractiveShell}} lives in {{ozone-cli-shell}}, and adds subcommands 
> from the same module statically.  Dependencies for other subcommands 
> ({{admin}}, {{debug}}, etc.) are added only at runtime, hence the subcommands 
> are found via reflection.  , dependencies are added only at runtime.
> Goals of this task:
> - create a new submodule {{ozone-cli-interactive}} for 
> {{OzoneInteractiveShell}}, which should depend on all other CLI modules 
> (except repair)
> - change classpath of {{OzoneInteractiveShell}} in 
> {{hadoop-ozone/dist/src/shell/ozone/ozone}} to the new module
> - remove unnecessary dynamic classpath additions
> - add {{ozone-cli-interactive}} as dependency in {{ozone-dist}}
> - change {{OzoneInteractiveShell}} to add {{OzoneAdmin}}, etc. via regular 
> method calls
> - remove unused {{addDynamicSubcommand()}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to