Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #4186] Spark showProgress with JobInfo
### _Why are the changes needed?_ current version, when set `kyuubi.session.engine.spark.showProgress=true`, it will show stage's progress info,but the info only show stage's detail, now we need to add job info in this, just like ``` [Stage 1:> (0 + 1) / 2] ``` to ``` [Job 1 (0 / 1) Stages] [Stage 1:> (0 + 1) / 2] ``` **this update is useful when user want know their sql execute detail** closes #4186 ### _How was this patch tested?_ - [x] Add screenshots for manual tests if appropriate **The photo show match log** ![image](https://github.com/apache/kyuubi/assets/51512358/73e0e2c0-f223-4d36-a3a7-638fb7691437) - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No Closes #5410 from davidyuan1223/improvement_add_job_log. Closes #4186 d8d03c4 [Cheng Pan] Update externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SQLOperationListener.scala a06e9a1 [david yuan] Update SparkConsoleProgressBar.scala 8544084 [david yuan] Merge branch 'apache:master' into improvement_add_job_log 963ff18 [david yuan] Update SparkConsoleProgressBar.scala 9e46356 [david yuan] Update SparkConsoleProgressBar.scala 8c04dca [david yuan] Update SQLOperationListener.scala 39751bf [davidyuan] fix 4f657e7 [davidyuan] fix deleted files 86756eb [david yuan] Merge branch 'apache:master' into improvement_add_job_log 0c9ac27 [davidyuan] add showProgress with jobInfo Unit Test d4434a0 [davidyuan] Revert "add showProgress with jobInfo Unit Test" 84b1aa0 [davidyuan] Revert "improvement_add_job_log fix" 66126f9 [davidyuan] Merge remote-tracking branch 'origin/improvement_add_job_log' into improvement_add_job_log 228fd9c [davidyuan] add showProgress with jobInfo Unit Test 055e0ac [davidyuan] add showProgress with jobInfo Unit Test e4aac34 [davidyuan] Merge remote-tracking branch 'origin/improvement_add_job_log' into improvement_add_job_log b226ada [davidyuan] Merge remote-tracking branch 'origin/improvement_add_job_log' into improvement_add_job_log a08799c [david yuan] Update externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/StageStatus.scala a991b68 [david yuan] Update externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/StageStatus.scala d12046d [davidyuan] add showProgress with jobInfo Unit Test 10a56b1 [davidyuan] add showProgress with jobInfo Unit Test a973cdd [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId e8a5108 [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId 7b9e874 [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId 5b4aaa8 [davidyuan] improvement_add_job_log fix 1. fix new end line 2. provide Option[Int] with JobId 780f9d1 [davidyuan] improvement_add_job_log fix 1. remove duplicate synchronized 2. because the activeJobs is ConcurrentHashMap, so reduce synchronized 3. fix scala code style 4. change forEach to asScala code style 5. change conf str to KyuubiConf.XXX.key 59340b7 [davidyuan] add showProgress with jobInfo Unit Test af05089 [davidyuan] add showProgress with jobInfo Unit Test c07535a [davidyuan] [Improvement] spark showProgress can briefly output info of the job #4186 d4bdec7 [yuanfuyuan] fix_4186 9fa8e73 [davidyuan] add showProgress with jobInfo Unit Test 49debfb [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId 5cf8714 [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId 249a422 [davidyuan] improvement_add_job_log fix 1. provide Option[Int] with JobId e15fc71 [davidyuan] improvement_add_job_log fix 1. fix new end line 2. provide Option[Int] with JobId 4564ef9 [davidyuan] improvement_add_job_log fix 1. remove duplicate synchronized 2. because the activeJobs is ConcurrentHashMap, so reduce synchronized 3. fix scala code style 4. change forEach to asScala code style 5. change conf str to KyuubiConf.XXX.key 32ad075 [davidyuan] add showProgress with jobInfo Unit Test d30492e [davidyuan] add showProgress with jobInfo Unit Test 6209c34 [davidyuan] [Improvement] spark showProgress can briefly output info of the job #4186 56b91a3 [yuanfuyuan] fix_4186 Lead-authored-by: davidyuan <yuanfuyuan@mafengwo.com> Co-authored-by: davidyuan <davidyuan1223@gmail.com> Co-authored-by: david yuan <51512358+davidyuan1223@users.noreply.github.com> Co-authored-by: yuanfuyuan <1406957364@qq.com> Co-authored-by: Cheng Pan <pan3793@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit ed0d997) Signed-off-by: Cheng Pan <chengpan@apache.org>
- Loading branch information