You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Folke Behrens (JIRA)" <ji...@apache.org> on 2010/07/18 01:24:50 UTC

[jira] Created: (CASSANDRA-1295) Log uncaught exceptions thrown in thread pools

Log uncaught exceptions thrown in thread pools
----------------------------------------------

                 Key: CASSANDRA-1295
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1295
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7
            Reporter: Folke Behrens
             Fix For: 0.7


Attached patch makes NamedThreadFactory add itself as UncaughtExceptionHandler to every child thread. Uncaught exceptions get logged.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1295) Log uncaught exceptions thrown in thread pools

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889553#action_12889553 ] 

Jonathan Ellis commented on CASSANDRA-1295:
-------------------------------------------

uncaught exceptions are already logged by the default uncaughtexceptionhandler set up by CassandraDaemon.  having a single place for that seems cleaner to me.

> Log uncaught exceptions thrown in thread pools
> ----------------------------------------------
>
>                 Key: CASSANDRA-1295
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1295
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 001-NamedThreadFactory-logs-uncaught-exceptions.patch.txt
>
>
> Attached patch makes NamedThreadFactory add itself as UncaughtExceptionHandler to every child thread. Uncaught exceptions get logged.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1295) Log uncaught exceptions thrown in thread pools

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Folke Behrens resolved CASSANDRA-1295.
--------------------------------------

      Assignee: Folke Behrens
    Resolution: Invalid

> Log uncaught exceptions thrown in thread pools
> ----------------------------------------------
>
>                 Key: CASSANDRA-1295
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1295
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>            Assignee: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 001-NamedThreadFactory-logs-uncaught-exceptions.patch.txt
>
>
> Attached patch makes NamedThreadFactory add itself as UncaughtExceptionHandler to every child thread. Uncaught exceptions get logged.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1295) Log uncaught exceptions thrown in thread pools

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890054#action_12890054 ] 

Folke Behrens commented on CASSANDRA-1295:
------------------------------------------

Yes, of course, much better! I must've forgot to add -i to grep when searching for a handler. Sorry!

> Log uncaught exceptions thrown in thread pools
> ----------------------------------------------
>
>                 Key: CASSANDRA-1295
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1295
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 001-NamedThreadFactory-logs-uncaught-exceptions.patch.txt
>
>
> Attached patch makes NamedThreadFactory add itself as UncaughtExceptionHandler to every child thread. Uncaught exceptions get logged.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1295) Log uncaught exceptions thrown in thread pools

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Folke Behrens updated CASSANDRA-1295:
-------------------------------------

    Attachment: 001-NamedThreadFactory-logs-uncaught-exceptions.patch.txt

> Log uncaught exceptions thrown in thread pools
> ----------------------------------------------
>
>                 Key: CASSANDRA-1295
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1295
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 001-NamedThreadFactory-logs-uncaught-exceptions.patch.txt
>
>
> Attached patch makes NamedThreadFactory add itself as UncaughtExceptionHandler to every child thread. Uncaught exceptions get logged.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.