hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2104) Scheduler queue filter failed to work because index of queue column changed
Date Sat, 28 Jun 2014 15:18:25 GMT

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

Hudson commented on YARN-2104:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1815 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1815/])
YARN-2104. Scheduler queue filter failed to work because index of queue column changed. Contributed
by Wangda Tan (jlowe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1606265)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/DefaultSchedulerPage.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/FairSchedulerPage.java


> Scheduler queue filter failed to work because index of queue column changed
> ---------------------------------------------------------------------------
>
>                 Key: YARN-2104
>                 URL: https://issues.apache.org/jira/browse/YARN-2104
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, webapp
>    Affects Versions: 2.4.0
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: YARN-2104.patch
>
>
> YARN-563 added,
> {code}
> + th(".type", "Application Type”).
> {code}
> to application table, which makes queue’s column index from 3 to 4. And in scheduler
page, queue’s column index is hard coded to 3 when filter application with queue’s name,
> {code}
>           "    if (q == 'root') q = '';",
>           "    else q = '^' + q.substr(q.lastIndexOf('.') + 1) + '$';",
>           "    $('#apps').dataTable().fnFilter(q, 3, true);",
> {code}
> So queue filter will not work for application page.
> Reproduce steps: (Thanks Bo Yang for pointing this)
> {code}
> 1) In default setup, there’s a default queue under root queue
> 2) Run an arbitrary application, you can find it in “Applications” page
> 3) Click “Default” queue in scheduler page
> 4) Click “Applications”, no application will show here
> 5) Click “Root” queue in scheduler page
> 6) Click “Applications”, application will show again
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message