-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-18816] [Web UI] Executors Logs column only ran visibility check on initial table load #16256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…on each page load
|
@srowen and @tgravescs could you take a quick look at this fix for a bug @yhuai found |
|
Also in case the others are on vacation, @vanzin want to take a look too? |
|
Test build #70039 has finished for PR 16256 at commit
|
| }; | ||
|
|
||
| $(selector).DataTable(conf); | ||
| var dt = $(selector).DataTable(conf); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You know better than I how to implement this. Does the same logic apply to column 16's init above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the column 16 logic is based on a conf flag, 15 is based on a function using the current page data
|
Merged to master (and 2.1 because original change is in 2.1) |
… on initial table load ## What changes were proposed in this pull request? When I added a visibility check for the logs column on the executors page in #14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same. ## How was this patch tested? Tested Manually No visible UI changes to screenshot. Author: Alex Bozarth <[email protected]> Closes #16256 from ajbozarth/spark18816. (cherry picked from commit aebf44e) Signed-off-by: Sean Owen <[email protected]>
… on initial table load ## What changes were proposed in this pull request? When I added a visibility check for the logs column on the executors page in apache#14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same. ## How was this patch tested? Tested Manually No visible UI changes to screenshot. Author: Alex Bozarth <[email protected]> Closes apache#16256 from ajbozarth/spark18816.
… on initial table load ## What changes were proposed in this pull request? When I added a visibility check for the logs column on the executors page in apache#14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same. ## How was this patch tested? Tested Manually No visible UI changes to screenshot. Author: Alex Bozarth <[email protected]> Closes apache#16256 from ajbozarth/spark18816.
What changes were proposed in this pull request?
When I added a visibility check for the logs column on the executors page in #14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same.
How was this patch tested?
Tested Manually
No visible UI changes to screenshot.