[ 
https://issues.apache.org/jira/browse/KAFKA-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721583#comment-16721583
 ] 

Sönke Liebau commented on KAFKA-7575:
-------------------------------------

Hi [~nirm2009],

apologies for the long delay in answering, I didn't get around to testing this 
until now.

I'm currently running a performance test on a Windows machine that has been 
going for roughly an hour (will leave on over night) without hitting the error 
that you mentioned. 

That being said, I did some further looking around and there are a number of 
tickets (I'll link them to this ticket) around file moving issues on Windows 
(which is what is causing the Exception you are seeing). The fundamental issue 
is that Windows handles file locks for opened files differently than Unix, 
attempts to move or delete a file that is still opened by the JVM will fail - 
and this has simply not been fixed in all places in Kafka, for example deleting 
logs after the retention time has been reached will simply not work.

There is a duplicate of this issue (KAFKA-1036) which has been marked as fixed, 
not sure why you are seeing this again tbh. The only thing that comes to mind 
is the Windows background indexing that might be interfering. Can you try 
disabling the Windows Search service for a run of this?

Since Windows is not an officially supported platform I have taken the liberty 
of demoting this issue from blocker to major, so that it doesn't interfere with 
any release processes.

I am unsure whether we should keep this issue around or track this under either 
KAFKA-1194 or KAFKA-2170 instead.

> 'Error while writing to checkpoint file' Issue
> ----------------------------------------------
>
>                 Key: KAFKA-7575
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7575
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer 
>    Affects Versions: 1.1.1
>         Environment: Windows 10, Kafka 1.1.1
>            Reporter: Dasun Nirmitha
>            Priority: Blocker
>         Attachments: Dry run error.rar
>
>
> I'm currently testing a Java Kafka producer application coded to retrieve a 
> db value from a local mysql db and produce to a single topic. Locally I've 
> got a Zookeeper server and a Kafka single broker running.
> My issue is I need to produce this from the Kafka producer each second, and 
> that works for around 2 hours until broker throws an 'Error while writing to 
> checkpoint file' and shuts down. Producing with a 1 minute interval works 
> with no issues but unfortunately I need the produce interval to be 1 second.
> I have attached a rar containing screenshots of the Errors thrown from the 
> Broker and my application.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to