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

Additional fix for TestReliableSpoolingFileEventReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • None
    • None

    Description

      TestReliableSpoolingFileEventReader needs some more modification in addition to the fix provided in FLUME-2505
      1) Needed to add semaphore2 to ensure that new file gets created before the second listing, without this readEventsForFilesInDir() can complete before the new file gets created
      2) had to remove renameTo and instead create the newfile, for the directory listing to pick the new file

      Attachments

        1. FLUME-2568.patch
          3 kB
          Johny Rufus

        Activity

          People

            jrufus Johny Rufus
            jrufus Johny Rufus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: