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

   ## What changes were proposed in this pull request?
   
   Various `ozone` commands have slightly different parameters for replication 
type, factor, and config (new for EC).  The goal of this task:
   
    * unify these params to provide more consistent user experience
    * reduce code duplication
    * keep compatibility with old parameters as far as possible
   
   This is achieved by moving replication options into a separate class and use 
it as mixin.  It provides methods to get settings from CLI parameters, from 
client-side config.
   
   Replication options come in two flavors:
   
    * shell: supports `-t`, but not legacy `--factor`
    * freon: supports `--factor`, but not `-t`, because that is used for number 
of threads
   
   Removed reference to `STAND_ALONE` and misspelled `STANDALONE` from option 
help.
   
   https://issues.apache.org/jira/browse/HDDS-6565
   
   ## How was this patch tested?
   
   Regular CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/2141281821


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