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

    https://github.com/apache/spark/pull/14617#discussion_r106467740
  
    --- Diff: 
core/src/main/resources/org/apache/spark/ui/static/executorspage.js ---
    @@ -350,7 +366,12 @@ $(document).ready(function () {
                             {data: 'rddBlocks'},
                             {
                                 data: function (row, type) {
    -                                return type === 'display' ? 
(formatBytes(row.memoryUsed, type) + ' / ' + formatBytes(row.maxMemory, type)) 
: row.memoryUsed;
    +                                return type === 'display' ? 
(formatBytes(row.onHeapMemoryUsed, type) + ' / ' + 
formatBytes(row.maxOnHeapMemory, type)) : row.maxOnHeapMemory
    +                            }
    +                        },
    +                        {
    +                            data: function (row, type) {
    +                                return type === 'display' ? 
(formatBytes(row.offHeapMemoryUsed, type) + ' / ' + 
formatBytes(row.maxOffHeapMemory, type)) : row.maxOffHeapMemory
    --- End diff --
    
    This all looks correct, including the field names and using formatBytes.


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