You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org> on 2011/10/10 20:34:29 UTC

[jira] [Commented] (CASSANDRA-3335) ThreadPoolExecutor creates threads as non-daemon and will block on shutdown by default

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

Brandon Williams commented on CASSANDRA-3335:
---------------------------------------------

+1 on this patch for being technically correct, but it actually does not help.  What I see is OptionalTasks jump to 100% on control-c, and then eventually it spins down and a few minutes later java finally exits.  During the last bit, I can see jamm still working.  I'm not sure why java is taking so long to exit, but it is responsive to nodetool the entire time, though tpstats shows nothing active.
                
> ThreadPoolExecutor creates threads as non-daemon and will block on shutdown by default
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3335
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3335
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.1
>
>         Attachments: 3335.txt
>
>
> This is most obviously visible in OptionalTasks which should not block shutdown, but often does.

--
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