Github user ajbozarth commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14204#discussion_r94456520
  
    --- Diff: 
core/src/main/resources/org/apache/spark/ui/static/executorspage.js ---
    @@ -408,12 +420,17 @@ $(document).ready(function () {
                                 data: 'id', render: function (data, type) {
                                     return type === 'display' ? ("<a 
href='threadDump/?executorId=" + data + "'>Thread Dump</a>" ) : data;
                                 }
    -                        }
    +                        },
    +                        {data: 'worker', render: formatWorkersCells}
                         ],
                         "columnDefs": [
                             {
                                 "targets": [ 16 ],
                                 "visible": getThreadDumpEnabled()
    +                        },
    +                        {
    +                            "targets": [ 17 ],
    +                            "visible": workersExist(response)
    --- End diff --
    
    We ran into an issue recently with columnDefs, it only runs on initial page 
load and doesn't catch changes on refresh. So for columns with non-static 
visibility you should add a line like this one below 
`dt.column(15).visible(logsExist(response));`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to