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

Robert Joseph Evans commented on YARN-237:
------------------------------------------

Sorry to keep adding more things in here, but JQuery.java is a generic part of 
YARN.  It, in theory, can be used by others not just Map/Reduce and YARN.  
Encoding in a special case for the tasks table is not acceptable.  You should 
be able to get the same functionality by switching to the DATATABLES_SELECTOR 
for those tables.

We also need to address the find bugs issues. You are dereferencing type to 
create the ID of the tasks and type could be null, although in practice it 
should never be.  Also there is no need to call toString() on type when using + 
with another string.  This may fix the find bugs issues too, although it would 
not be super clean.
                
> Refreshing the RM page forgets how many rows I had in my Datatables
> -------------------------------------------------------------------
>
>                 Key: YARN-237
>                 URL: https://issues.apache.org/jira/browse/YARN-237
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.0.2-alpha, 0.23.4, 3.0.0
>            Reporter: Ravi Prakash
>            Assignee: jian he
>              Labels: usability
>         Attachments: YARN-237.patch, YARN-237.v2.patch, YARN-237.v3.patch
>
>
> If I choose a 100 rows, and then refresh the page, DataTables goes back to 
> showing me 20 rows.
> This user preference should be stored in a cookie.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to