You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2013/12/05 08:05:38 UTC

[jira] [Commented] (BOOKKEEPER-701) Improve exception handling of Bookkeeper threads

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

Sijie Guo commented on BOOKKEEPER-701:
--------------------------------------

as you want to extend BookieThread, you don't need to change BookieUncaughtExceptionHandler from static inner class to inner class. you could just let BookieThread implements Thread.UncaughtExceptionHandler, which will the code clearer.

> Improve exception handling of Bookkeeper threads
> ------------------------------------------------
>
>                 Key: BOOKKEEPER-701
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-701
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-auto-recovery, bookkeeper-client, bookkeeper-server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: 0001-BOOKKEEPER-701.patch, 0002-BOOKKEEPER-701.patch
>
>
> This JIRA discusses how to improve the exception handling of bookkeeper threads. As part of this it needs to review all the bookkeeper threads, if any unhandled exception from a thread, it should,
> - log a loud error when a thread dies. 
> - exit if any of the critical thread dies.
> Please have a look at BOOKKEEPER-700 to know the initial discussions.



--
This message was sent by Atlassian JIRA
(v6.1#6144)