You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/05/02 16:10:17 UTC

[jira] [Resolved] (FLUME-1137) Recoverable Memory channel and File channel require Hadoop classes in classpath

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

Brock Noland resolved FLUME-1137.
---------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: v1.4.0)
    
> Recoverable Memory channel and File channel require Hadoop classes in classpath
> -------------------------------------------------------------------------------
>
>                 Key: FLUME-1137
>                 URL: https://issues.apache.org/jira/browse/FLUME-1137
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.2.0
>            Reporter: Hari Shreedharan
>
> RecoverableMemoryChannel needs Hadoop IO classes in classpath. On a machine where Hadoop isn't on Classpath, Class.forName throws NoClassDefFoundError, which is not caught by the factory class, causing the agent startup to fail. It is not exactly a good idea to expect every machine on which this channel will be used to have Hadoop installed. We currently depend on Hadoop/HDFS only where we are actually writing to HDFS. Even the JDBC channel has an embedded DB, thus not requiring the DB to be available in classpath.
> The same is true for the File Channel as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira