Skip to content

Commit 76b44c9

Browse files
wForgetpan3793
authored andcommitted
[KYUUBI #3220] Make kyuubi.engine.ui.stop.enabled false in HistoryServer
### _Why are the changes needed?_ close #3220 ### _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 ![image](https://user-images.githubusercontent.com/17894939/184284124-018023c9-0e27-43c9-a4ab-f4c9214849eb.png) - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3221 from wForget/KYUUBI-3220. Closes #3220 ed3f596 [Wang Zhen] [KYUUBI-3220] Make kyuubi.engine.ui.stop.enabled false in HistoryServer Authored-by: Wang Zhen <wangzhen07@qiyi.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent f60e9d4 commit 76b44c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/KyuubiHistoryServerPlugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ class KyuubiHistoryServerPlugin extends AppHistoryServerPlugin {
4141
}
4242

4343
override def setupUI(ui: SparkUI): Unit = {
44-
val kyuubiConf = mergedKyuubiConf(ui.conf)
4544
val store = new EngineEventsStore(ui.store.store)
4645
if (store.getSessionCount > 0) {
46+
val kyuubiConf = mergedKyuubiConf(ui.conf)
47+
kyuubiConf.set(KyuubiConf.ENGINE_UI_STOP_ENABLED, false)
4748
EngineTab(
4849
None,
4950
Some(ui),

0 commit comments

Comments
 (0)