[jira] [Commented] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15785962#comment-15785962 ] Hudson commented on MAPREDUCE-5155: --- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11057/]) MAPREDUCE-5155. Race condition in test case TestFetchFailure cause it to (templedf: rev 95c2c24cd0007ece9d7cd0fbe4c5932828e639d4) * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/TestFetchFailure.java > Race condition in test case TestFetchFailure cause it to fail > - > > Key: MAPREDUCE-5155 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5155 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test >Affects Versions: 2.0.3-alpha > Environment: Suse x86_64 GNU/Linux > Java(TM) SE Runtime Environment (build 1.6.0_32-b05 >Reporter: Nemon Lou >Assignee: Haibo Chen >Priority: Minor > Fix For: 3.0.0-alpha2 > > Attachments: MAPREDUCE-5155.01.patch, > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure-output.txt, > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure.txt > > > I run into this once: > testFetchFailureWithRecovery(org.apache.hadoop.mapreduce.v2.app.TestFetchFailure): > Num completion events not correct expected:<1> but was:<0> > There is a race condition between job.getTaskAttemptCompletionEvents and > dealing with JOB_TASK_ATTEMPT_COMPLETED event. > If job.getTaskAttemptCompletionEvents invoked because of task in SUCCEEDED > state ,but before JOB_TASK_ATTEMPT_COMPLETED event scheduled,the test case > will fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org
[jira] [Commented] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15783963#comment-15783963 ] Daniel Templeton commented on MAPREDUCE-5155: - Looks good to me. +1. I'll commit tomorrow unless there are other comments. > Race condition in test case TestFetchFailure cause it to fail > - > > Key: MAPREDUCE-5155 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5155 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test >Affects Versions: 2.0.3-alpha > Environment: Suse x86_64 GNU/Linux > Java(TM) SE Runtime Environment (build 1.6.0_32-b05 >Reporter: Nemon Lou >Assignee: Haibo Chen >Priority: Minor > Attachments: MAPREDUCE-5155.01.patch, > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure-output.txt, > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure.txt > > > I run into this once: > testFetchFailureWithRecovery(org.apache.hadoop.mapreduce.v2.app.TestFetchFailure): > Num completion events not correct expected:<1> but was:<0> > There is a race condition between job.getTaskAttemptCompletionEvents and > dealing with JOB_TASK_ATTEMPT_COMPLETED event. > If job.getTaskAttemptCompletionEvents invoked because of task in SUCCEEDED > state ,but before JOB_TASK_ATTEMPT_COMPLETED event scheduled,the test case > will fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org
[jira] [Commented] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15729944#comment-15729944 ] Hadoop QA commented on MAPREDUCE-5155: -- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 19s {color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s {color} | {color:green} The patch appears to include 1 new or modified test files. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 6m 52s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 22s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 16s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 30s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 15s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 37s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 16s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 22s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 21s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 21s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 13s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 26s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 13s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 42s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 13s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 8m 55s {color} | {color:green} hadoop-mapreduce-client-app in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 16s {color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 21m 44s {color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:a9ad5d6 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12842209/MAPREDUCE-5155.01.patch | | JIRA Issue | MAPREDUCE-5155 | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux 2b499480ce91 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 9f5d2c4 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | Test Results | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6835/testReport/ | | modules | C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app | | Console output | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6835/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > Race condition in test case TestFetchFailure cause it to fail > - > > Key: MAPREDUCE-5155 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5155 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test >Affects Versions: 2.0.3-alpha > Environment: Suse x86_64 GNU/Linux > Java(TM) SE Runtime Environment (build 1.6.0_32-b05 >Reporter: Nemon Lou >
[jira] [Commented] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15729837#comment-15729837 ] Haibo Chen commented on MAPREDUCE-5155: --- TestMRApp.testUpdatedNodes() has been fixed in MAPREDUCE-4785 > Race condition in test case TestFetchFailure cause it to fail > - > > Key: MAPREDUCE-5155 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5155 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test >Affects Versions: 2.0.3-alpha > Environment: Suse x86_64 GNU/Linux > Java(TM) SE Runtime Environment (build 1.6.0_32-b05 >Reporter: Nemon Lou >Assignee: Haibo Chen >Priority: Minor > Attachments: > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure-output.txt, > org.apache.hadoop.mapreduce.v2.app.TestFetchFailure.txt > > > I run into this once: > testFetchFailureWithRecovery(org.apache.hadoop.mapreduce.v2.app.TestFetchFailure): > Num completion events not correct expected:<1> but was:<0> > There is a race condition between job.getTaskAttemptCompletionEvents and > dealing with JOB_TASK_ATTEMPT_COMPLETED event. > If job.getTaskAttemptCompletionEvents invoked because of task in SUCCEEDED > state ,but before JOB_TASK_ATTEMPT_COMPLETED event scheduled,the test case > will fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org
[jira] [Commented] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail
[ https://issues.apache.org/jira/browse/MAPREDUCE-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13634784#comment-13634784 ] nemon lou commented on MAPREDUCE-5155: -- Another test case failed with the same reason: Failed tests: testUpdatedNodes(org.apache.hadoop.mapreduce.v2.app.TestMRApp): Expecting 2 more completion events for killed expected:4 but was:2 These lines of code has race condition issue: {quote} app.waitForState(task1Attempt, TaskAttemptState.KILLED); app.waitForState(task2Attempt, TaskAttemptState.KILLED); events = job.getTaskAttemptCompletionEvents(0, 100); Assert.assertEquals(Expecting 2 more completion events for killed, 4, events.length); {quote} Race condition in test case TestFetchFailure cause it to fail - Key: MAPREDUCE-5155 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5155 Project: Hadoop Map/Reduce Issue Type: Bug Components: test Affects Versions: 2.0.3-alpha Environment: Suse x86_64 GNU/Linux Java(TM) SE Runtime Environment (build 1.6.0_32-b05 Reporter: nemon lou Priority: Minor Attachments: org.apache.hadoop.mapreduce.v2.app.TestFetchFailure-output.txt, org.apache.hadoop.mapreduce.v2.app.TestFetchFailure.txt I run into this once: testFetchFailureWithRecovery(org.apache.hadoop.mapreduce.v2.app.TestFetchFailure): Num completion events not correct expected:1 but was:0 There is a race condition between job.getTaskAttemptCompletionEvents and dealing with JOB_TASK_ATTEMPT_COMPLETED event. If job.getTaskAttemptCompletionEvents invoked because of task in SUCCEEDED state ,but before JOB_TASK_ATTEMPT_COMPLETED event scheduled,the test case will fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira