[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-14 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #5 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/5/])
YARN-2853. Fixed a bug in ResourceManager causing apps to hang when the user 
kill request races with ApplicationMaster finish. Contributed by Jian He. 
(vinodkv: rev 3651fe1b089851b38be351c00a9899817166bf3e)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ApplicationMasterService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* 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/rmapp/RMAppImpl.java
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-14 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

SUCCESS: Integrated in Hadoop-Yarn-trunk #743 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/743/])
YARN-2853. Fixed a bug in ResourceManager causing apps to hang when the user 
kill request races with ApplicationMaster finish. Contributed by Jian He. 
(vinodkv: rev 3651fe1b089851b38be351c00a9899817166bf3e)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* 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/ApplicationMasterService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-14 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #5 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/5/])
YARN-2853. Fixed a bug in ResourceManager causing apps to hang when the user 
kill request races with ApplicationMaster finish. Contributed by Jian He. 
(vinodkv: rev 3651fe1b089851b38be351c00a9899817166bf3e)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ApplicationMasterService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* 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/rmapp/RMAppImpl.java
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-14 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1957 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1957/])
YARN-2853. Fixed a bug in ResourceManager causing apps to hang when the user 
kill request races with ApplicationMaster finish. Contributed by Jian He. 
(vinodkv: rev 3651fe1b089851b38be351c00a9899817166bf3e)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ApplicationMasterService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java
* hadoop-yarn-project/CHANGES.txt
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-14 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #5 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/5/])
YARN-2853. Fixed a bug in ResourceManager causing apps to hang when the user 
kill request races with ApplicationMaster finish. Contributed by Jian He. 
(vinodkv: rev 3651fe1b089851b38be351c00a9899817166bf3e)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ApplicationMasterService.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-13 Thread Hudson (JIRA)

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

Hudson commented on YARN-2853:
--

FAILURE: Integrated in Hadoop-trunk-Commit #6535 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6535/])
YARN-2853. Merging to branch-2.6 for hadoop-2.6.0-rc1. (acmurthy: rev 
d648e60ebab7f1942dba92e9cd2cb62b8d70419b)
* hadoop-yarn-project/CHANGES.txt


 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.7.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-13 Thread Arun C Murthy (JIRA)

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

Arun C Murthy commented on YARN-2853:
-

I've merged this back into branch-2.6 for hadoop-2.6.0-rc1.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Fix For: 2.6.0

 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-12 Thread Jian He (JIRA)

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

Jian He commented on YARN-2853:
---

bq. This is not correct. If app accept kill signal from the user, we should not 
continue running the app.
right,  updated the patch to kill the app if this is not the last attempt. if 
the failed attempt is the last attempt, the app state remains failed.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2853:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12681151/YARN-2853.2.patch
  against trunk revision 782abbb.

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

{color:green}+1 tests included{color}.  The patch appears to include 2 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 test build failed 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/5829//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5829//console

This message is automatically generated.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-12 Thread Vinod Kumar Vavilapalli (JIRA)

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

Vinod Kumar Vavilapalli commented on YARN-2853:
---

This looks good. One minor typo: unregisteres successfully.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-12 Thread Jian He (JIRA)

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

Jian He commented on YARN-2853:
---

fixed the typo, re-kick jenkins

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch, 
 YARN-2853.3.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-11 Thread Jian He (JIRA)

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

Jian He commented on YARN-2853:
---

Instead, we could get rid of the killing state completely and let app stay at 
the original state and change RMApp to handle attempt_killed state at each 
possible state.  this way, we could avoid race condition like this.  I'll file 
a separate  jira to do this.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-11 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2853:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680930/YARN-2853.1.patch
  against trunk revision 163bb55.

{color:red}-1 patch{color}.  Trunk compilation may be broken.

Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5820//console

This message is automatically generated.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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


[jira] [Commented] (YARN-2853) Killing app may hang while AM is unregistering

2014-11-11 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2853:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680948/YARN-2853.1.patch
  against trunk revision 163bb55.

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

{color:green}+1 tests included{color}.  The patch appears to include 2 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 following test timeouts occurred in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter

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

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

This message is automatically generated.

 Killing app may hang while AM is unregistering
 --

 Key: YARN-2853
 URL: https://issues.apache.org/jira/browse/YARN-2853
 Project: Hadoop YARN
  Issue Type: Bug
Reporter: Jian He
Assignee: Jian He
 Attachments: YARN-2853.1.patch, YARN-2853.1.patch


 When killing an app, app first moves to KILLING state, If RMAppAttempt 
 receives the attempt_unregister event before attempt_kill event,  it'll 
 ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
 KILLED state and stays at KILLING state forever.



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