Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-113

TailDirSource causes master to fail if directory doesn't exist

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: v0.9.0
    • Fix Version/s: v0.9.1
    • Component/s: Master, Sinks+Sources
    • Labels:
      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

            • Assignee:
              jon Jonathan Hsieh
              Reporter:
              phunt Patrick Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: