[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-16 Thread Hudson (JIRA)

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

Hudson commented on YARN-2389:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1865 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1865/])
YARN-2389. Added functionality for schedulers to kill all applications in a 
queue. Contributed by Subramaniam Venkatraman Krishnan (jianhe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1618294)
* /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/AbstractYarnScheduler.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/YarnScheduler.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/capacity/TestCapacityScheduler.java


 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Fix For: 2.6.0

 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-16 Thread Hudson (JIRA)

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

Hudson commented on YARN-2389:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1839 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1839/])
YARN-2389. Added functionality for schedulers to kill all applications in a 
queue. Contributed by Subramaniam Venkatraman Krishnan (jianhe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1618294)
* /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/AbstractYarnScheduler.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/YarnScheduler.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/capacity/TestCapacityScheduler.java


 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Fix For: 2.6.0

 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-15 Thread Jian He (JIRA)

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

Jian He commented on YARN-2389:
---

looks good overall:
- we can use rm.waitForState( app, killed_state) for the following
{code}
// check postconditions
Thread.sleep(1000);
{code}

 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Attachments: YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-15 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2389:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12662127/YARN-2389.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}.  There were no new javadoc 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 2.0.3) warnings.

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

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

  
org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector
  
org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStoreZKClientConnections

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

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

This message is automatically generated.

 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-15 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2389:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12662154/YARN-2389-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}.  There were no new javadoc 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 2.0.3) warnings.

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

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

  
org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector
  
org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStoreZKClientConnections

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

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

This message is automatically generated.

 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-15 Thread Jian He (JIRA)

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

Jian He commented on YARN-2389:
---

looks good, +1

 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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


[jira] [Commented] (YARN-2389) Adding support for drainig a queue, ie killing all apps in the queue

2014-08-15 Thread Hudson (JIRA)

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

Hudson commented on YARN-2389:
--

FAILURE: Integrated in Hadoop-trunk-Commit #6080 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6080/])
YARN-2389. Added functionality for schedulers to kill all applications in a 
queue. Contributed by Subramaniam Venkatraman Krishnan (jianhe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1618294)
* /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/AbstractYarnScheduler.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/YarnScheduler.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/capacity/TestCapacityScheduler.java


 Adding support for drainig a queue, ie killing all apps in the queue
 

 Key: YARN-2389
 URL: https://issues.apache.org/jira/browse/YARN-2389
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subramaniam Venkatraman Krishnan
Assignee: Subramaniam Venkatraman Krishnan
  Labels: capacity-scheduler, fairscheduler
 Fix For: 2.6.0

 Attachments: YARN-2389-1.patch, YARN-2389.patch


 This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
 a single application from one queue to another. This will add support to move 
 all applications from the specified source queue to target. This will use 
 YARN-2385 so will work for both Capacity  Fair scheduler.



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