[ 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). I've started with empty directory, which indicates that Kafka actually has permissions to create these files and write to them. 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)}} 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 > 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). I've started with empty directory, which > indicates that Kafka actually has permissions to create these files and write > to them. > 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)