This is an automated email from the ASF dual-hosted git repository.

bowenliang pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new f82241c17 [KYUUBI #5019] Shows details of compilation info in 
SparkUI's engine tab
f82241c17 is described below

commit f82241c1790d52015a68c9e0100472bd0cdd33fb
Author: liangbowen <[email protected]>
AuthorDate: Fri Jul 7 18:05:05 2023 +0800

    [KYUUBI #5019] Shows details of compilation info in SparkUI's engine tab
    
    ### _Why are the changes needed?_
    
    Adding compilation details info in SparkUI's Engine tab
    - shows details of kyuubi version, including revision, revision time and 
branch
    - show compilation version of Spark, Scala, Hadoop and  Hive
    
    
![image](https://github.com/apache/kyuubi/assets/1935105/2d58d637-5eef-47b3-94d6-eef923cbc632)
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
    
    - [x] Add screenshots for manual tests if appropriate
    
    - [ ] [Run 
test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests)
 locally before make a pull request
    
    Closes #5019 from bowenliang123/enginetab-info.
    
    Closes #5019
    
    3ea108bd6 [liangbowen] shows Compilation Info in SparkUI's Engine tab
    
    Authored-by: liangbowen <[email protected]>
    Signed-off-by: liangbowen <[email protected]>
    (cherry picked from commit 76daa01681f9ecc04b8e8fcdd3c31ea3dfa56d77)
    Signed-off-by: liangbowen <[email protected]>
---
 .../src/main/scala/org/apache/spark/ui/EnginePage.scala       | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
 
b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
index fb302bb28..978126128 100644
--- 
a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
+++ 
b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
@@ -29,7 +29,7 @@ import org.apache.commons.text.StringEscapeUtils
 import org.apache.spark.ui.TableSourceUtil._
 import org.apache.spark.ui.UIUtils._
 
-import org.apache.kyuubi.{KYUUBI_VERSION, Utils}
+import org.apache.kyuubi._
 import org.apache.kyuubi.engine.spark.events.{SessionEvent, 
SparkOperationEvent}
 
 case class EnginePage(parent: EngineTab) extends WebUIPage("") {
@@ -58,6 +58,15 @@ case class EnginePage(parent: EngineTab) extends 
WebUIPage("") {
         <strong>Kyuubi Version: </strong>
         {KYUUBI_VERSION}
       </li>
+      <li>
+        <strong>Compilation Revision:</strong>
+        {REVISION.substring(0, 7)} ({REVISION_TIME}), branch {BRANCH}
+      </li>
+      <li>
+        <strong>Compilation with:</strong>
+        Spark {SPARK_COMPILE_VERSION}, Scala {SCALA_COMPILE_VERSION},
+          Hadoop {HADOOP_COMPILE_VERSION}, Hive {HIVE_COMPILE_VERSION}
+      </li>
       <li>
         <strong>Started at: </strong>
         {new Date(parent.startTime)}

Reply via email to