Sarveksha Yeshavantha Raju created HDDS-12029:
-------------------------------------------------

             Summary: Move ozone debug recover to ozone admin om lease recover
                 Key: HDDS-12029
                 URL: https://issues.apache.org/jira/browse/HDDS-12029
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Tools
            Reporter: Sarveksha Yeshavantha Raju


The `ozone debug recover` command that is currently used for lease recovery has 
a few problems:
- It modifies the cluster, so it should not be under `debug`.
- The name does not specify that it deals with leases.
- It uses a standard API from the `FileSystem` interface unlike other low level 
tools in this package.

The command is unique because it goes through the `FileSystem` interface but is 
not exposed through the `fs` command line in Hadoop or Ozone. For these 
reasons, we propose moving this command to its own Ozone subcommand: `ozone 
admin om lease recover`. This also allows other lease related subcommands (like 
querying of existing leases) to be added in the future.



--
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