[ 
https://issues.apache.org/jira/browse/YARN-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445218#comment-16445218
 ] 

Weiwei Yang commented on YARN-8188:
-----------------------------------

In nodes page, the column index for "Mem Used" and "Mem Available" is moved 
from [8, 9] to [9, 10] since YARN-7779 added another column to the table. Need 
to update the index accordingly. I have verified in a cluster, and the 
exception (from Chrome dev console) has gone after applied the patch.

> RM Nodes UI data table index for sorting column is messed up
> ------------------------------------------------------------
>
>                 Key: YARN-8188
>                 URL: https://issues.apache.org/jira/browse/YARN-8188
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, webapp
>    Affects Versions: 3.1.0
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>         Attachments: YARN-8188.001.patch
>
>
> Click {{Allocation Tags}} column, got following exception
> {noformat}
> yarn.dt.plugins.js:37 Uncaught TypeError: Cannot read property '1' of null
>     at Object.jQuery.fn.dataTableExt.oSort.title-numeric-desc 
> (yarn.dt.plugins.js:37)
>     at jquery.dataTables.min.js:86
>     at Array.sort (native)
>     at $ (jquery.dataTables.min.js:86)
>     at f (jquery.dataTables.min.js:89)
>     at jquery.dataTables.min.js:89
> {noformat}
> This is caused by YARN-7779, since it adds a new column of allocation tags, 
> the index needs to be updated as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to