You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/11/03 05:36:33 UTC

[jira] [Created] (HBASE-12410) Zombie hunting tips!

stack created HBASE-12410:
-----------------------------

             Summary: Zombie hunting tips!
                 Key: HBASE-12410
                 URL: https://issues.apache.org/jira/browse/HBASE-12410
             Project: HBase
          Issue Type: Brainstorming
            Reporter: stack


Here are some tips from Mr Charlton Heston (@dima spivak) and World War Z Brad Pitt ([~apurtell]), famous Zombie killers, on how to figure why tests are hanging:

bq. Set  -Dsurefire.timeout=0 to the mvn command which sets the process timeout to unlimited.

Above is good for figuring what is sticking around.

bq. When hunting zombies locally you can also set the first part and second part fork modes to "always" so each test runs in its own VM, then loop the unit test suite, watch for stragglers, then jstack. Works well because you can be sure every stack in the dump is relevant for the hung test.

Lets keep this issue open and add tips for tests for nailing those that won't die.





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