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

   ## What changes were proposed in this pull request?
   
   Subclasses of `Shell` override `execute()` to initialize tracing.  The goal 
of this task is to reduce this code duplication.
   
   https://issues.apache.org/jira/browse/HDDS-12003
   
   ## How was this patch tested?
   
   Started cluster in `ozone` compose environment with tracing enabled:
   
   
   ```
   cd hadoop-ozone/dist/target/ozone-2.0.0-SNAPSHOT/compose/ozone
   export COMPOSE_FILE=docker-compose.yaml:monitoring.yaml
   OZONE_DATANODES=3 ./run.sh -d
   ```
   
   Ran some commands in `ozone` compose environment with tracing enabled:
   
   ```
   docker compose exec om bash
   ozone freon ockg -n1 -t1 -p warmup
   ozone sh key put /vol1/bucket1/passwd /etc/passwd
   ozone admin container list
   ozone s3 getsecret
   ```
   
   Verified in Jaeger that traces got created:
   
   
![tracing](https://github.com/user-attachments/assets/d37aa10b-1379-4437-8609-a718e9ec7637)
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/12649976634


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