[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2016-04-13 Thread Wangda Tan (JIRA)

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

Wangda Tan commented on YARN-3846:
--

We should back port this issue to branch-2.6/branch-2.7, list apps for nested 
queues is broken for branch-2.6/2.6.

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2216 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2216/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* 
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-yarn-project/CHANGES.txt


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #267 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/267/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* 
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-yarn-project/CHANGES.txt


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #259 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/259/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* 
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-yarn-project/CHANGES.txt


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #2197 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2197/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #1000 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/1000/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-28 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #270 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/270/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* 
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-yarn-project/CHANGES.txt


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-27 Thread Hudson (JIRA)

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

Hudson commented on YARN-3846:
--

FAILURE: Integrated in Hadoop-trunk-Commit #8229 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8229/])
YARN-3846. RM Web UI queue filter is not working for sub queue. Contributed by 
Mohammad Shahid Khan (jianhe: rev 3572ebd738aa5fa8b0906d75fb12cc6cbb991573)
* 
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-yarn-project/CHANGES.txt


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Fix For: 2.8.0
>
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-27 Thread Jian He (JIRA)

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

Jian He commented on YARN-3846:
---

patch looks good to me , committing 

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-14 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-3846:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  16m 10s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included |   0m  0s | The patch doesn't appear 
to include any new or modified tests.  Please justify why no new tests are 
needed for this patch. Also please list what manual steps were performed to 
verify this patch. |
| {color:green}+1{color} | javac |   7m 43s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 40s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 22s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   0m 47s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 21s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   1m 23s | The patch does not introduce 
any new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | yarn tests |  51m  6s | Tests passed in 
hadoop-yarn-server-resourcemanager. |
| | |  89m  8s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12743307/YARN-3846.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / a431ed9 |
| hadoop-yarn-server-resourcemanager test log | 
https://builds.apache.org/job/PreCommit-YARN-Build/8529/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-YARN-Build/8529/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-YARN-Build/8529/console |


This message was automatically generated.

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
>  Labels: PatchAvailable
> Attachments: YARN-3846.patch, scheduler queue issue.png, scheduler 
> queue positive behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-01 Thread Mohammad Shahid Khan (JIRA)

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

Mohammad Shahid Khan commented on YARN-3846:


have changed the affected and target version.

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 3.0.0, 2.8.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
> Attachments: scheduler queue issue.png, scheduler queue positive 
> behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-01 Thread Mohammad Shahid Khan (JIRA)

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

Mohammad Shahid Khan commented on YARN-3846:


also  in  branch-2 

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
> Attachments: scheduler queue issue.png, scheduler queue positive 
> behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-07-01 Thread Mohammad Shahid Khan (JIRA)

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

Mohammad Shahid Khan commented on YARN-3846:


you are right 2.7 is not having the issue. 
My mistake i have raised in the wrong branch.
Affected version should be changed.

The issue is there in trunk.
The trunk is having the "Queue: " change. This change only has induced the 
filter issue and even you only  have handled 
https://issues.apache.org/jira/browse/YARN-3707.
But if we have to keep the lbel "Queue:  " the current issue should be fixed in 
the trunk.


> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
> Attachments: scheduler queue issue.png, scheduler queue positive 
> behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-3846) RM Web UI queue filter is not working

2015-06-29 Thread Wangda Tan (JIRA)

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

Wangda Tan commented on YARN-3846:
--

[~mohdshahidkhan],
I tried to reproduce this in 2.7, it should work.

I created a queue root.b.b1, and submits job to that queue, the filter works.

And the code in 2.7 doesn't contain change of "Queue:" before queue's name. 
Could you use branch-2.7 to see if the problem still exists.

> RM Web UI queue filter is not working
> -
>
> Key: YARN-3846
> URL: https://issues.apache.org/jira/browse/YARN-3846
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 2.7.0
>Reporter: Mohammad Shahid Khan
>Assignee: Mohammad Shahid Khan
> Attachments: scheduler queue issue.png, scheduler queue positive 
> behavior.png
>
>
> Click on root queue will show the complete applications
> But click on the leaf queue is not filtering the application related to the 
> the clicked queue.
> The regular expression seems to be wrong 
> {code}
> q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
> {code}
> For example
> 1. Suppose  queue name is  b
> them the above expression will try to substr at index 1 
> q.lastIndexOf(':')  = -1
> -1+2= 1
> which is wrong. its should look at the 0 index.
> 2. if queue name is ab.x
> then it will parse it to .x 
> but it should be x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)