[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13801709#comment-13801709
 ] 

Hudson commented on YARN-1288:
--

SUCCESS: Integrated in Hadoop-Yarn-trunk #370 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/370/])
YARN-1288. Make Fair Scheduler ACLs more user friendly (Sandy Ryza) (sandy: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1534315)
* /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/scheduler/Queue.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/scheduler/capacity/LeafQueue.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/scheduler/capacity/ParentQueue.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/scheduler/fair/FSLeafQueue.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/scheduler/fair/FSQueue.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/scheduler/fair/QueueManager.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/scheduler/fifo/FifoScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/FairScheduler.apt.vm


 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Fix For: 2.2.1

 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288-3.patch, 
 YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13801730#comment-13801730
 ] 

Hudson commented on YARN-1288:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1560 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1560/])
YARN-1288. Make Fair Scheduler ACLs more user friendly (Sandy Ryza) (sandy: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1534315)
* /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/scheduler/Queue.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/scheduler/capacity/LeafQueue.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/scheduler/capacity/ParentQueue.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/scheduler/fair/FSLeafQueue.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/scheduler/fair/FSQueue.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/scheduler/fair/QueueManager.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/scheduler/fifo/FifoScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/FairScheduler.apt.vm


 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Fix For: 2.2.1

 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288-3.patch, 
 YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13801819#comment-13801819
 ] 

Hudson commented on YARN-1288:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1586 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1586/])
YARN-1288. Make Fair Scheduler ACLs more user friendly (Sandy Ryza) (sandy: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1534315)
* /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/scheduler/Queue.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/scheduler/capacity/LeafQueue.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/scheduler/capacity/ParentQueue.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/scheduler/fair/FSLeafQueue.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/scheduler/fair/FSQueue.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/scheduler/fair/QueueManager.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/scheduler/fifo/FifoScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/FairScheduler.apt.vm


 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Fix For: 2.2.1

 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288-3.patch, 
 YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13800953#comment-13800953
 ] 

Hudson commented on YARN-1288:
--

SUCCESS: Integrated in Hadoop-trunk-Commit #4636 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4636/])
YARN-1288. Make Fair Scheduler ACLs more user friendly (Sandy Ryza) (sandy: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1534315)
* /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/scheduler/Queue.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/scheduler/capacity/LeafQueue.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/scheduler/capacity/ParentQueue.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/scheduler/fair/FSLeafQueue.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/scheduler/fair/FSQueue.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/scheduler/fair/QueueManager.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/scheduler/fifo/FifoScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/FairScheduler.apt.vm


 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Fix For: 2.2.1

 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288-3.patch, 
 YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-18 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13799680#comment-13799680
 ] 

Hadoop QA commented on YARN-1288:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12609237/YARN-1288-3.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/2224//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2224//console

This message is automatically generated.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288-3.patch, 
 YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-17 Thread Sandy Ryza (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798586#comment-13798586
 ] 

Sandy Ryza commented on YARN-1288:
--

For the record, the old default behavior was that the root queue would have 
ACLs that defaulted to nobody and all other queues would default to everybody.  
The patch switches this, so now the root queue defaults to everybody and all 
other queues default to nobody.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-17 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798601#comment-13798601
 ] 

Alejandro Abdelnur commented on YARN-1288:
--

+1. Would be possible in the docs to make it more explicit that the behavior is 
an OR of all the ACLs from the root to the leaf queue?

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-17 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13798621#comment-13798621
 ] 

Hadoop QA commented on YARN-1288:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12609055/YARN-1288-2.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/2210//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2210//console

This message is automatically generated.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288-2.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-16 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13797112#comment-13797112
 ] 

Alejandro Abdelnur commented on YARN-1288:
--

* Queue.java: 
** false change line 46 
** unused import line 27
* FSLeafQueue.java: 
** unused imports lines 27,34
* FSQueue.java: 
** unused imports lines 23,24,29
* QueueManager.java: 
** false changes line 75,296,414,417
** NOONE_ACL constant should be NO_ONE_ACL
** default getQueueAcl() behavior has not changed, correct? The following 
comment is removed by the patch, I think we should have it in the getQueueAcl() 
method:

{code}
   // Root queue should have empty ACLs.  As a queue's ACL is the union of
  // its ACL and all its parents' ACLs, setting the roots' to empty will
  // neither allow nor prohibit more access to its children.
{code}


 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-16 Thread Sandy Ryza (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13797308#comment-13797308
 ] 

Sandy Ryza commented on YARN-1288:
--

Uploaded a new patch.

Addressed false changes and unused imports.

bq. NOONE_ACL constant should be NO_ONE_ACL
Changed this to EVERYBODY_ACL and NOBODY_ACL.

bq. default getQueueAcl() behavior has not changed, correct?
The behavior has changed.  Added a comment to the getQueueACL method that 
explains the behavior.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-16 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13797353#comment-13797353
 ] 

Hadoop QA commented on YARN-1288:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12608807/YARN-1288-1.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/2193//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2193//console

This message is automatically generated.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-16 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13797568#comment-13797568
 ] 

Alejandro Abdelnur commented on YARN-1288:
--

patch LGTM. Before committing it ...

* Would this be an incompatible change? If so, can the configuration be set to 
have the previous behavior? If so, that should be the default setting.
* Documentation is missing.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288-1.patch, YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-09 Thread Sandy Ryza (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791098#comment-13791098
 ] 

Sandy Ryza commented on YARN-1288:
--

Attached patch that makes the changes discussed above. To avoid allocating and 
filling a HashMap every time acls are checked, the patch also changes 
QueueManager#getQueueAcls to QueueManager#getQueueAcl and removes the 
getQueueAcls method in Queue that is no longer needed because of this.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (YARN-1288) Make Fair Scheduler ACLs more user friendly

2013-10-09 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791116#comment-13791116
 ] 

Hadoop QA commented on YARN-1288:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12607708/YARN-1288.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/2158//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2158//console

This message is automatically generated.

 Make Fair Scheduler ACLs more user friendly
 ---

 Key: YARN-1288
 URL: https://issues.apache.org/jira/browse/YARN-1288
 Project: Hadoop YARN
  Issue Type: Bug
  Components: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
Assignee: Sandy Ryza
 Attachments: YARN-1288.patch


 The Fair Scheduler currently defaults the root queue's acl to empty and all 
 other queues' acl to *.  Now that YARN-1258 enables configuring the root 
 queue, we should reverse this.  This will also bring the Fair Scheduler in 
 line with the Capacity Scheduler.
 We should also not trim the acl strings, which makes it impossible to only 
 specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)