[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133175#comment-16133175
 ] 

Jason Lowe commented on MAPREDUCE-4980:
---------------------------------------

I'm not sure adding more time to TestMapReduceJobControl is going to help, as 
it looked like a surefire timeout rather than a junit timeout.  MAPREDUCE-6747 
is tracking the issue.  What I believe is happening is that the code is trying 
to kill a local job (which involves trying to interrupt a thread) and that 
interrupt gets swallowed at some point.  It then spins waiting for a job to 
exit that isn't going to exit since it wasn't successfully interrupted.  
Eventually surefire steps in and kills the whole mess without a lot of 
helpfulness.  For this JIRA I'd be tempted to slap a reasonable junit timeout 
on testJobControlWithKillJob so we don't wait the full surefire timeout when it 
is going to hang.  We can fix that test in MAPREDUCE-6747.

Still haven't been able to reproduce the TestNNBench issue, but I've only been 
able to take a couple of cracks at it in my spare time.  Will try to get a few 
more tries in the next few days.

> Parallel test execution of hadoop-mapreduce-client-core
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4980
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4980
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Andrey Klochkov
>         Attachments: MAPREDUCE-4980.010.patch, MAPREDUCE-4980.011.patch, 
> MAPREDUCE-4980.012.patch, MAPREDUCE-4980.013.patch, MAPREDUCE-4980.014.patch, 
> MAPREDUCE-4980.1.patch, MAPREDUCE-4980--n3.patch, MAPREDUCE-4980--n4.patch, 
> MAPREDUCE-4980--n5.patch, MAPREDUCE-4980--n6.patch, MAPREDUCE-4980--n7.patch, 
> MAPREDUCE-4980--n7.patch, MAPREDUCE-4980--n8.patch, MAPREDUCE-4980.patch
>
>
> The maven surefire plugin supports parallel testing feature. By using it, the 
> tests can be run more faster.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to