You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mykola Makhin (Jira)" <ji...@apache.org> on 2021/10/21 09:23:00 UTC
[jira] [Updated] (KAFKA-13390) Kafka 3 fails to run on Windows
[ https://issues.apache.org/jira/browse/KAFKA-13390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mykola Makhin updated KAFKA-13390:
----------------------------------
Description:
During startup Kafka creates some files in logs folder, but then outputs two java.nio.file.AccessDeniedException exceptions for logs folder (configured in server.properties via log.dirs), and two ERROR log lines with messages:
{{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\recovery-point-offset checkpoint }}{{(kafka.server.LogDirFailureChannel)}}
{{...}}
{{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\log-start-offset-checkpoint (kafka.server.LogDirFailureChannel)}}
However, that directory actually contains these files, and they are not empty (have size of 6 bytes though)
P.S. See also https://stackoverflow.com/questions/69289641/accessdeniedexception-while-running-apache-kafka-3-on-windows
was:
During startup Kafka creates some files in logs folder, but then outputs two java.nio.file.AccessDeniedException exceptions for logs folder (configured in server.properties via log.dirs), and two ERROR log lines with messages:
{{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\recovery-point-offset checkpoint }}{{(kafka.server.LogDirFailureChannel)}}
{{...}}
{{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\log-start-offset-checkpoint (kafka.server.LogDirFailureChannel)}}
> Kafka 3 fails to run on Windows
> -------------------------------
>
> Key: KAFKA-13390
> URL: https://issues.apache.org/jira/browse/KAFKA-13390
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Mykola Makhin
> Priority: Major
>
> During startup Kafka creates some files in logs folder, but then outputs two java.nio.file.AccessDeniedException exceptions for logs folder (configured in server.properties via log.dirs), and two ERROR log lines with messages:
> {{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\recovery-point-offset checkpoint }}{{(kafka.server.LogDirFailureChannel)}}
> {{...}}
> {{ERROR Error while writing to checkpoint file c:\Users\user\kafka3-data\log-start-offset-checkpoint (kafka.server.LogDirFailureChannel)}}
>
> However, that directory actually contains these files, and they are not empty (have size of 6 bytes though)
> P.S. See also https://stackoverflow.com/questions/69289641/accessdeniedexception-while-running-apache-kafka-3-on-windows
--
This message was sent by Atlassian Jira
(v8.3.4#803005)