[
https://issues.apache.org/jira/browse/FLUME-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roshan Naik updated FLUME-2722:
-------------------------------
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.
was:
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 otherwise belongs in the zookeeper.close() which to close file
handles properly. But till that happens using deleteQuietly() in
stopZookeeper() is a workaround.
> Windows : TestKafkaSourceUtil Unit Tests fail on Windows
> --------------------------------------------------------
>
> Key: FLUME-2722
> URL: https://issues.apache.org/jira/browse/FLUME-2722
> Project: Flume
> Issue Type: Bug
> Components: Test
> Affects Versions: v1.6.0
> Reporter: Roshan Naik
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)