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

   ## What changes were proposed in this pull request?
   
   Enable RocksDB statistics in the sample `ozone` docker-compose environment's 
[monitoring 
extension](https://github.com/apache/ozone/blob/master/hadoop-ozone/dist/src/main/compose/ozone/README.md#monitoring).
   
   https://issues.apache.org/jira/browse/HDDS-7036
   
   ## How was this patch tested?
   
   ```
   cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozone
   export COMPOSE_FILE=docker-compose.yaml:monitoring.yaml
   OZONE_REPLICATION_FACTOR=3 ./run.sh -d
   sleep 60
   docker-compose exec -T scm ozone freon ockg -n1 -t1
   ```
   
   Verified that JMX endpoint shows RocksDB stats:
   
   ```
   $ curl -LSs http://localhost:9874/jmx
   ...
     }, {
       "name" : "Hadoop:service=Ozone,name=RocksDbStore,dbName=om.db",
       ...
       "NUMBER_KEYS_WRITTEN" : 14,
       "NUMBER_KEYS_READ" : 7,
       ...
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/2719241954


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