Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19700#discussion_r150063165
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLListener.scala ---
    @@ -101,6 +101,8 @@ class SQLListener(conf: SparkConf) extends 
SparkListener with Logging {
     
       private val retainedExecutions = 
conf.getInt("spark.sql.ui.retainedExecutions", 1000)
     
    +  private val retainedStages = conf.getInt("spark.ui.retainedStages", 1000)
    --- End diff --
    
    @tashoyan . Since you are not introducing a new one, could you use the 
existing default value?
    ```scala
    -  private val retainedStages = conf.getInt("spark.ui.retainedStages", 1000)
    +  private val retainedStages =
    +    conf.getInt("spark.ui.retainedStages", SparkUI.DEFAULT_RETAINED_STAGES)
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to