You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "turboFei (via GitHub)" <gi...@apache.org> on 2025/03/01 04:06:34 UTC

Re: [PR] [CELEBORN-1683] Support to get worker versions with RESTful api [celeborn]

turboFei commented on code in PR #2876:
URL: https://github.com/apache/celeborn/pull/2876#discussion_r1976267358


##########
common/src/main/scala/org/apache/celeborn/common/util/Utils.scala:
##########
@@ -1371,4 +1371,22 @@ object Utils extends Logging {
     connectException || rpcTimeout || fetchChunkTimeout
   }
 
+  def printVersion(): Unit = {
+    import org.apache.celeborn.common._
+    logInfo("""
+      _____    __    __
+     / ___/__ / /__ / /  ___  _______
+    / /__/ -_) / -_) _ \/ _ \/ __/ _ \
+    \___/\__/_/\__/_.__/\___/_/ /_//_/  version %s
+
+    Branch %s
+    Compiled by user %s on %s
+    Revision %s
+    """.format(
+      CELEBORN_VERSION,
+      CELEBORN_BRANCH,
+      CELEBORN_BUILD_USER,
+      CELEBORN_BUILD_DATE,
+      CELEBORN_REVISION))

Review Comment:
   Example:
   
   <img width="621" alt="image" src="https://github.com/user-attachments/assets/1f23bada-88a7-4b16-b3c4-83c50fb4e425" />
   



-- 
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@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org