adoroszlai opened a new pull request, #4802: URL: https://github.com/apache/ozone/pull/4802
## What changes were proposed in this pull request? `run.sh` uses `$OZONE_REPLICATION_FACTOR` both to set the default replication factor and to decide how many datanodes to start. This limits the number of datanodes to 1 or 3. While datanodes can be scaled afterwards, it would be nice to be able to start the cluster with e.g. 5 datanodes in the first place. https://issues.apache.org/jira/browse/HDDS-8726 ## How was this patch tested? Old usage (still works): ``` $ ./run.sh -d $ OZONE_REPLICATION_FACTOR=3 ./run.sh -d ``` New usage: ``` $ OZONE_DATANODES=5 ./run.sh -d ``` (Also tested various combinations of the two parameters.) -- 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]
