adoroszlai commented on code in PR #10134:
URL: https://github.com/apache/ozone/pull/10134#discussion_r3194961257
##########
hadoop-ozone/dist/src/shell/ozone/ozone:
##########
@@ -221,6 +221,17 @@ function ozonecmd_case
OZONE_CLASSNAME=org.apache.hadoop.security.token.DtUtilShell
OZONE_RUN_ARTIFACT_NAME="ozone-tools"
;;
+ interactive | --interactive)
+ OZONE_CLASSNAME=org.apache.hadoop.ozone.shell.OzoneInteractiveShell
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-shell"
+ OZONE_OPTS="${OZONE_OPTS} ${RATIS_OPTS} ${OZONE_MODULE_ACCESS_ARGS}"
+ # Add all CLI classpaths to support all subcommands dynamically
+ for cp_file in "ozone-cli-admin" "ozone-cli-debug" "ozone-cli-repair"
"ozone-tools"; do
+ if [[ -f "${OZONE_HOME}/share/ozone/classpath/${cp_file}.classpath"
]]; then
+ ozone_add_classpath_from_file
"${OZONE_HOME}/share/ozone/classpath/${cp_file}.classpath"
+ fi
+ done
Review Comment:
Created HDDS-15185 for follow-up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]