dongjoon-hyun opened a new pull request, #461:
URL: https://github.com/apache/spark-kubernetes-operator/pull/461

   ### What changes were proposed in this pull request?
   
   This PR aims to log `Apache Spark K8s Operator`'s `Version` during starting.
   
   ### Why are the changes needed?
   
   A user can install multiple `Apache Spark K8s Operator`s and collects the 
logs into a single log collection system. We had better help the log analysis 
of `Spark Operator` by embedding its version explicitly into the logs.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No behavior change.
   
   ### How was this patch tested?
   
   Manual review.
   
   **BEFORE**
   ```
   $ kubectl logs spark-kubernetes-operator-8dc69d96f-czn82 | head -n3
   Starting Operator...
   26/01/17 06:51:34 INFO   o.a.s.k.o.SparkOperator Java Version: 25.0.1+8-LTS
   ```
   
   **AFTER**
   ```
   $ kubectl logs spark-kubernetes-operator-8dc69d96f-czn82 | head -n3
   Starting Operator...
   26/01/17 06:51:34 INFO   o.a.s.k.o.SparkOperator Version: 0.8.0-SNAPSHOT
   26/01/17 06:51:34 INFO   o.a.s.k.o.SparkOperator Java Version: 25.0.1+8-LTS
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


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