Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1137

Recoverable Memory channel and File channel require Hadoop classes in classpath

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Sinks+Sources
    • Labels:
      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hshreedharan Hari Shreedharan
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: