Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.2.0
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
FLUME-1285 FileChannel has a dependency on Hadoop IO classes
- Closed
- is blocked by
-
FLUME-1246 FileChannel hangs silently when Hadoop libs not found
- Resolved