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

Recoverable Memory channel and File channel require Hadoop classes in classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.0
    • None
    • Sinks+Sources
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: