adoroszlai opened a new pull request, #7630:
URL: https://github.com/apache/ozone/pull/7630

   HDDS-11836. Interactive mode for ozone admin/debug
   
   ## What changes were proposed in this pull request?
   
   Enable interactive mode for `ozone admin` and `ozone debug`.
   
   https://issues.apache.org/jira/browse/HDDS-11836
   
   ## How was this patch tested?
   
   ```
   $ ozone admin --interactive
   ozone admin> help
    -  ozone admin registry
   Summary: cert               Certificate related operations
            container         Container specific operations
            containerbalancer ContainerBalancer specific operations
            datanode          Datanode specific operations
            namespace         Namespace Summary specific admin operations
            om                Ozone Manager specific admin operations
            pipeline          Pipeline specific operations
            printTopology     Print a tree of the network topology as reported 
by SCM
            reconfig          Dynamically reconfigure server without restarting 
it
            replicationmanager ReplicationManager specific operations
            safemode          Safe mode specific operations
            scm               Ozone Storage Container Manager specific admin 
operations
   ozone admin> exit
   
   $ ozone debug --interactive
   ozone debug> help
    -  ozone debug registry
   Summary: chunkinfo            returns chunk location information about an 
existing key
            container           Container replica specific operations to be 
executed on datanodes only
            find-missing-padding List all keys with any missing padding, 
optionally limited to a
            fmp                 List all keys with any missing padding, 
optionally limited to a
            ldb                 Parse rocksdb file content
            pld                 Create an image of the current compaction log 
DAG in OM.
            prefix              Parse prefix contents
            print-log-dag       Create an image of the current compaction log 
DAG in OM.
            ratislogparser      Shell of printing Ratis Log in understandable 
text
            read-replicas       Reads every replica for all the blocks 
associated with a given key.
            recover             recover the lease of a specified file. Make 
sure to specify file system scheme
            version             Show internal version of Ozone components, as 
defined in the artifacts where
   ozone debug> exit
   ```
   


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

Reply via email to