adoroszlai commented on PR #8205: URL: https://github.com/apache/ozone/pull/8205#issuecomment-2776275253
Changes: - Move `ozone admin container upgrade` (package `org.apache.hadoop.hdds.scm.cli.container.upgrade` in `hdds-tools`) to `ozone repair datanode upgrade-container-schema` (package `org.apache.hadoop.ozone.repair.datanode.schemaupgrade` in `ozone-tools`) - `UpgradeSubcommand` was renamed to `UpgradeContainerSchema` - `UpgradeManager.Result` was moved to top-level `VolumeUpgradeResult` - `UpgradeTask.UpgradeContainerResult` was renamed to `ContainerUpgradeResult` - Most of `UpgradeChecker` and `UpgradeManager` were merged into `UpgradeContainerSchema`, except utilities, which were moved into `UpgradeUtils` - Replaced `out().println()` and logging with `info()` and `error()` as appropriate, and introduced `fatal()` (which is like `error()`, but also stops execution) - Added dry-run mode. - Changed test to run the tool via `OzoneRepair` instead of directly invoking `run()`. Get upgrade results via a method exposed for test. -- 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]
