[jira] [Updated] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail

2016-12-29 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated MAPREDUCE-5155:

   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha2
   Status: Resolved  (was: Patch Available)

Thanks for the patch, [~haibochen].  Committed to trunk.  If you want it to go 
into branch-2, please provide a branch-2 patch.  (Java 7 wants the var used in 
the anon inner class to be final.)

> 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] [Updated] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail

2016-12-07 Thread Haibo Chen (JIRA)

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

Haibo Chen updated MAPREDUCE-5155:
--
Status: Patch Available  (was: Open)

> 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] [Updated] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail

2016-12-07 Thread Haibo Chen (JIRA)

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

Haibo Chen updated MAPREDUCE-5155:
--
Attachment: MAPREDUCE-5155.01.patch

Upload a patch that contains the same fix in 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: 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] [Updated] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail

2013-04-16 Thread nemon lou (JIRA)

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

nemon lou updated MAPREDUCE-5155:
-

Description: 
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.



  was:
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.




> 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


[jira] [Updated] (MAPREDUCE-5155) Race condition in test case TestFetchFailure cause it to fail

2013-04-16 Thread nemon lou (JIRA)

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

nemon lou updated MAPREDUCE-5155:
-

Attachment: org.apache.hadoop.mapreduce.v2.app.TestFetchFailure.txt
org.apache.hadoop.mapreduce.v2.app.TestFetchFailure-output.txt

Logs are uploaded

> 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