maobaolong opened a new pull request, #2010:
URL: https://github.com/apache/incubator-uniffle/pull/2010
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
Examples:
- "[#123] feat(operator): support xxx"
- "[#233] fix: check null before access result in xxx"
- "[MINOR] refactor: fix typo in variable name"
- "[MINOR] docs: fix typo in README"
- "[#255] test: fix flaky test NameOfTheTest"
Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. Contributor guidelines:
https://github.com/apache/incubator-uniffle/blob/master/CONTRIBUTING.md
3. If the PR is unfinished, please mark this PR as draft.
-->
### What changes were proposed in this pull request?
Display the version and commitId for each process.
### Why are the changes needed?
- I don't know clearly about the version of uniffle client current running
within spark from spark.log, we cost much time to check the version and related
code.
- After our colleague send us a log file, we don't know the version and
related code, we have to ask him and wait reply.
It is easy to print the version to each process, and make it convenient for
troubleshooting.
### Does this PR introduce _any_ user-facing change?
User can know the version of uniffle client from spark log
### How was this patch tested?
Run each Process and find the version output.
```
[2024-08-03 10:00:53.377] [main] [INFO] CoordinatorServer -
CoordinatorServer version: 0.10.0-SNAPSHOT-4473d13d
[2024-08-03 10:26:25.865] [main] [INFO] ShuffleServer - ShuffleServer
version: 0.10.0-SNAPSHOT-4473d13d
[2024-08-03 10:27:20.404] [main] [INFO] JettyServerFront - JettyServerFront
version: 0.10.0-SNAPSHOT-4473d13d
```
--
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]