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

Additional fix for TestReliableSpoolingFileEventReader

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              jrufus Johny Rufus
              Reporter:
              jrufus Johny Rufus

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment