[jira] [Updated] (YARN-3395) [Fair Scheduler] Handle the user name correctly when submit application and use user name as default queue name.

2015-03-25 Thread zhihai xu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhihai xu updated YARN-3395:

Attachment: YARN-3395.000.patch

 [Fair Scheduler] Handle the user name correctly when submit application and 
 use user name as default queue name.
 

 Key: YARN-3395
 URL: https://issues.apache.org/jira/browse/YARN-3395
 Project: Hadoop YARN
  Issue Type: Bug
  Components: fairscheduler
Reporter: zhihai xu
Assignee: zhihai xu
 Attachments: YARN-3395.000.patch


 Handle the user name correctly when submit application and use user name as 
 default queue name.
 We should reject the application with an empty or whitespace only user name.
 because it doesn't make sense to have an empty or whitespace only user name.
 We should remove the trailing and leading whitespace of the user name when we 
 use user name as default queue name, otherwise it will be rejected by 
 InvalidQueueNameException from QueueManager. I think this change make sense, 
 because it will be compatible with queue name convention and also we already 
 did similar thing for '.' in user name.



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


[jira] [Updated] (YARN-3395) [Fair Scheduler] Handle the user name correctly when submit application and use user name as default queue name.

2015-03-25 Thread zhihai xu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhihai xu updated YARN-3395:

Attachment: (was: YARN-3395.000.patch)

 [Fair Scheduler] Handle the user name correctly when submit application and 
 use user name as default queue name.
 

 Key: YARN-3395
 URL: https://issues.apache.org/jira/browse/YARN-3395
 Project: Hadoop YARN
  Issue Type: Bug
  Components: fairscheduler
Reporter: zhihai xu
Assignee: zhihai xu

 Handle the user name correctly when submit application and use user name as 
 default queue name.
 We should reject the application with an empty or whitespace only user name.
 because it doesn't make sense to have an empty or whitespace only user name.
 We should remove the trailing and leading whitespace of the user name when we 
 use user name as default queue name, otherwise it will be rejected by 
 InvalidQueueNameException from QueueManager. I think this change make sense, 
 because it will be compatible with queue name convention and also we already 
 did similar thing for '.' in user name.



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


[jira] [Updated] (YARN-3395) [Fair Scheduler] Handle the user name correctly when submit application and use user name as default queue name.

2015-03-24 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated YARN-3395:
--
Summary: [Fair Scheduler] Handle the user name correctly when submit 
application and use user name as default queue name.  (was: Handle the user 
name correctly when submit application and use user name as default queue name.)

 [Fair Scheduler] Handle the user name correctly when submit application and 
 use user name as default queue name.
 

 Key: YARN-3395
 URL: https://issues.apache.org/jira/browse/YARN-3395
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Reporter: zhihai xu
Assignee: zhihai xu
 Attachments: YARN-3395.000.patch


 Handle the user name correctly when submit application and use user name as 
 default queue name.
 We should reject the application with an empty or whitespace only user name.
 because it doesn't make sense to have an empty or whitespace only user name.
 We should remove the trailing and leading whitespace of the user name when we 
 use user name as default queue name, otherwise it will be rejected by 
 InvalidQueueNameException from QueueManager. I think this change make sense, 
 because it will be compatible with queue name convention and also we already 
 did similar thing for '.' in user name.



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


[jira] [Updated] (YARN-3395) [Fair Scheduler] Handle the user name correctly when submit application and use user name as default queue name.

2015-03-24 Thread Karthik Kambatla (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karthik Kambatla updated YARN-3395:
---
Component/s: (was: scheduler)
 fairscheduler

 [Fair Scheduler] Handle the user name correctly when submit application and 
 use user name as default queue name.
 

 Key: YARN-3395
 URL: https://issues.apache.org/jira/browse/YARN-3395
 Project: Hadoop YARN
  Issue Type: Bug
  Components: fairscheduler
Reporter: zhihai xu
Assignee: zhihai xu
 Attachments: YARN-3395.000.patch


 Handle the user name correctly when submit application and use user name as 
 default queue name.
 We should reject the application with an empty or whitespace only user name.
 because it doesn't make sense to have an empty or whitespace only user name.
 We should remove the trailing and leading whitespace of the user name when we 
 use user name as default queue name, otherwise it will be rejected by 
 InvalidQueueNameException from QueueManager. I think this change make sense, 
 because it will be compatible with queue name convention and also we already 
 did similar thing for '.' in user name.



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