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

[email protected] commented on OOZIE-835:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5093/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

Instead using a shutdownhook, the patch uses a monitor thread that detects that 
no testcase is running for X seconds and then triggers a shutdown of the 
minicluster


This addresses bug OOZIE-835.
    https://issues.apache.org/jira/browse/OOZIE-835


Diffs
-----

  trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1337157 

Diff: https://reviews.apache.org/r/5093/diff


Testing
-------

run all testcases with hadoop 1 and hadoop 2 and test JVM shutdown properly


Thanks,

Alejandro


                
> XTestCase Minicluster hangs when shutting down with an exception using Hadoop 
> 2
> -------------------------------------------------------------------------------
>
>                 Key: OOZIE-835
>                 URL: https://issues.apache.org/jira/browse/OOZIE-835
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: trunk
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Critical
>             Fix For: trunk
>
>
> currently XTestCase uses a JVM shutdownHook to stop the minicluster, the 
> problem is that minicluster uses shutdown hooks as well and a race condition 
> gets things in hung state.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to