You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/07/06 08:05:35 UTC

[jira] [Commented] (FLUME-1331) Start method of components throwing NoClassDefFoundError are not caught

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

Hudson commented on FLUME-1331:
-------------------------------

Integrated in flume-trunk #273 (See [https://builds.apache.org/job/flume-trunk/273/])
    FLUME-1331. Catch and log all Throwables on start.

(Hari Shreedharan via Mike Percy) (Revision 1358037)

     Result = SUCCESS
mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1358037
Files : 
* /incubator/flume/trunk/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java
* /incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/node/nodemanager/DefaultLogicalNodeManager.java

                
> Start method of components throwing NoClassDefFoundError are not caught
> -----------------------------------------------------------------------
>
>                 Key: FLUME-1331
>                 URL: https://issues.apache.org/jira/browse/FLUME-1331
>             Project: Flume
>          Issue Type: Bug
>          Components: Channel, Sinks+Sources
>    Affects Versions: v1.1.0
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>             Fix For: v1.2.0
>
>
> Currently, if the component creation throws NoClassDefFoundError in the constructor is caught and logged. But if it is thrown from start() it is not caught and the component may never start and no logging happens. We need to at least log it till a permanent fix is found.

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