turboFei 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_r345294134
 
 

 ##########
 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:
   Hi, this option can speed the history summary loading in front-end side.
   
   See details in https://datatables.net/examples/ajax/defer_render.html.

----------------------------------------------------------------
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