You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/11 20:58:00 UTC

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

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

Andrew Kyle Purtell resolved HBASE-12410.
-----------------------------------------
    Resolution: Not A Bug

> Zombie hunting tips!
> --------------------
>
>                 Key: HBASE-12410
>                 URL: https://issues.apache.org/jira/browse/HBASE-12410
>             Project: HBase
>          Issue Type: Brainstorming
>            Reporter: Michael Stack
>            Priority: Major
>
> 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
(v8.20.7#820007)