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

Windows : TestKafkaSourceUtil Unit Tests fail on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:

      Description

      Reason: On Windows you cannot delete files in use.

      In this test.. The cleanup during teardown() is throwing an exception as it is not able delete one of the Zookeeper log files.

      Fix: Ideally the fix otherwise belongs in the zookeeper.close() which to close file handles properly. But till that happens using deleteQuietly() in stopZookeeper() is a workaround in Flume.

        Attachments

        1. FLUME-2722.patch
          0.8 kB
          Roshan Naik

          Activity

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              roshan_naik Roshan Naik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: