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

TailDirSource causes master to fail if directory doesn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1
    • Master, Sinks+Sources
    • None

    Description

      TailDirSource creates a DirWatcher in the constructor. If the directory doesn't exist on this master an exception will be thrown on the master - rather than what was really intended - that the check be done on the destination node.

      jon says:

      > The right thing to do is either move the precondition from the constructor to the
      > start method, or move the instantiation of the DirWatcher to the open call.

      Attachments

        Activity

          People

            jmhsieh Jonathan Hsieh
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: