srowen commented on a change in pull request #26482: [SPARK-29857][WEB UI] 
Support defer render the spark history summary page.
URL: https://github.com/apache/spark/pull/26482#discussion_r345306656
 
 

 ##########
 File path: 
core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala
 ##########
 @@ -68,6 +68,7 @@ private[history] class HistoryPage(parent: HistoryServer) 
extends WebUIPage("")
                 <div id="history-summary" class="row-fluid"></div> ++
                 <script src={UIUtils.prependBaseUri(request, 
"/static/historypage.js")}></script> ++
                 <script>setAppLimit({parent.maxApplications})</script>
+                <script>setDeferRender({parent.deferRender})</script>
 
 Review comment:
   So this defers rendering until the table is displayed by expanding it?
   Is there any downside -- why wouldn't we set it on all the expandable tables 
that are collapsed by default?
   That is, I don't see a need for a config if so.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to