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

2015-06-27 Thread Mohammad Shahid Khan (JIRA)

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

Mohammad Shahid Khan commented on YARN-3846:


Please confirm whether we have to keep the Label "Queue: " or not.
Then will submit the patch accordingly.


> RM Web UI queue fileter 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
>
> 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 fileter not working

2015-06-27 Thread Mohammad Shahid Khan (JIRA)

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

Mohammad Shahid Khan commented on YARN-3846:


https://issues.apache.org/jira/browse/YARN-2238 is for different fix.
The label "Queue  :" was added before the queue name in 
https://issues.apache.org/jira/browse/YARN-3362. After the search was not 
working and the same has been handled in the  
https://issues.apache.org/jira/browse/YARN-3707.
The fix is OK for the for the first child of the queue 
but will not work for the second child
for example Queue: b.x
   
  Queue: root
Queue: a  _*For queue a it will work fine*_
Queue: b
   Queue: b.x   _*But for queue x and y this will not work*_
   Queue: b.y

*My question: *
  What is the significance of adding Label *"Queue:"*  before the queue name?
 



> RM Web UI queue fileter 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
>
> 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 fileter not working

2015-06-25 Thread Wangda Tan (JIRA)

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

Wangda Tan commented on YARN-3846:
--

[~mohdshahidkhan],
Could you try https://issues.apache.org/jira/browse/YARN-2238 to see if this 
problem is already resolved?

> RM Web UI queue fileter 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
>
> 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)