[
https://issues.apache.org/jira/browse/FLUME-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731085#comment-13731085
]
Hari Shreedharan commented on FLUME-2145:
-----------------------------------------
Roshan,
I missed one thing yesterday. If you look at the test you can see that the
channel is started using the same checkpoint directory later (after checkpoint
rebuilder is done rebuilding). This issue with doing that is that the channel
will restart with "checkpointDir/checkpoint" as the checkpoint and the new file
created by checkpoint rebuilder is ignored. We should probably create the new
checkpoint in a different directory and start the file channel with that
directory as the checkpoint directory to work around this.
As far as doing the windows specific clean up in a follow up - that sounds ok,
but I'd like to make sure that if new directories (as I suggested above) are
added to the tests, they get cleaned up when the test is done.
> TestCheckpointRebuilder.testFastReplay fails on Windows due to checkpoint
> file being memory mapped
> ---------------------------------------------------------------------------------------------------
>
> Key: FLUME-2145
> URL: https://issues.apache.org/jira/browse/FLUME-2145
> Project: Flume
> Issue Type: Bug
> Components: Test, Windows
> Affects Versions: v1.4.0
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Labels: windows
> Fix For: v1.5.0
>
> Attachments: FLUME-2145.patch
>
>
> Memory mapped files are not released by JVM causing failure when attempting
> to clean the up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira