Udaya Kumar created KAFKA-13334: ----------------------------------- Summary: ERROR Failed to clean up log for __consumer_offsets Key: KAFKA-13334 URL: https://issues.apache.org/jira/browse/KAFKA-13334 Project: Kafka Issue Type: Bug Components: log cleaner Affects Versions: 2.8.1 Environment: Windows Service application and Windows 10 operating system Reporter: Udaya Kumar Attachments: server.log.2021-09-23-17
[2021-09-23 17:10:29,126] ERROR Failed to clean up log for __consumer_offsets-38 in dir C:\Kafka\server_logData due to IOException (kafka.server.LogDirFailureChannel)[2021-09-23 17:10:29,126] ERROR Failed to clean up log for __consumer_offsets-38 in dir C:\Kafka\server_logData due to IOException (kafka.server.LogDirFailureChannel)java.nio.file.FileSystemException: C:\Kafka\server_logData\__consumer_offsets-38\00000000000000000000.timeindex.cleaned -> C:\Kafka\server_logData\__consumer_offsets-38\00000000000000000000.timeindex.swap:The process cannot access the file because it is being used by another process at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:401) at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:293) -- This message was sent by Atlassian Jira (v8.3.4#803005)