You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2025/01/07 12:07:41 UTC
[PR] HDDS-12003. Reduce code duplication related to tracing init [ozone]
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:

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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12003. Reduce code duplication related to tracing init [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #7658:
URL: https://github.com/apache/ozone/pull/7658#issuecomment-2579298047
Thanks @sodonnel for the review.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12003. Reduce code duplication related to tracing init [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #7658:
URL: https://github.com/apache/ozone/pull/7658
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org