hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12410) Zombie hunting tips!
Date Mon, 03 Nov 2014 04:36:33 GMT
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

View raw message