adoroszlai commented on issue #238: HDDS-2588. Consolidate compose environments
URL: https://github.com/apache/hadoop-ozone/pull/238#issuecomment-560268499
 
 
   Changes in last two commits besides README update:
   
   1. fix `freon-*.yaml`:
       * versions need to match other yamls
       * monitoring config is required for getting Freon spans
   2. set `safemode.min.datanode` and `ozone.replication` to value of 
`OZONE_REPLICATION_FACTOR` environment variable
   3. add `run.sh` to make startup simpler (`--scale` datanodes based on 
`OZONE_REPLICATION_FACTOR`)
   
   So `docker-compose up` without `--scale` still starts a cluster with 1 
datanode, but `ozone sh key put` works OK, whereas previously it required 
explicit `-r ONE`.  And getting a 3-datanode cluster is as simple as 
`OZONE_REPLICATION_FACTOR=3 ./run.sh`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to