GitHub user LantaoJin opened a pull request: https://github.com/apache/spark/pull/22595
[SPARK-25577][Web UI] Add an on-off switch to display the executor additional columns ## What changes were proposed in this pull request? [SPARK-17019](https://issues.apache.org/jira/browse/SPARK-17019) Expose off-heap memory usage in WebUI. But it makes this additional columns hidden by default. If we want to see them, we need change the css code to rebuild a spark-core.jar. It's very inconvenient. ``` .on_heap_memory, .off_heap_memory { display: none; } ``` So I add an on-off switch to show those additional columns. And in future, we don't afraid to add more columns. ## How was this patch tested? <img width="693" alt="screen shot 2018-09-30 at 5 45 56 pm" src="https://user-images.githubusercontent.com/1853780/46256353-3a042700-c4dc-11e8-8b0f-305281d1fd17.png"> <img width="743" alt="screen shot 2018-09-30 at 5 46 06 pm" src="https://user-images.githubusercontent.com/1853780/46256356-3f617180-c4dc-11e8-9d24-679db52343fe.png"> You can merge this pull request into a Git repository by running: $ git pull https://github.com/LantaoJin/spark SPARK-25577 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22595.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22595 ---- commit c758db01da06d0bc5f4466bab10a330ef812bcc6 Author: LantaoJin <jinlantao@...> Date: 2018-09-30T10:08:32Z [SPARK-25577][Web UI] Add an on-off switch to display the executor additional columns ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org