errose28 commented on PR #7465: URL: https://github.com/apache/ozone/pull/7465#issuecomment-2491648586
For the CLI I would propose something like this: ``` ozone debug om container-to-key --db=<db path with db name> [--container-file=<file having list of container separated by new line>] [--containers=<comma separated list of container IDs>] [--output <out file name having file full path>] ``` We should also support reading container IDs from stdin to support piping. This gives three ways to get container IDs into the command. IMO we should not make them exclusive and read from all sources to get the final set of container IDs to operate on. At least one container ID must be present from somewhere for the command to succeed. `--output` would also be optional and output would go to stdout otherwise. To support redirection please make sure all output that is not part of the final key list goes to stderr. -- 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]
