dongyan li created KAFKA-6322:
---------------------------------
Summary: Error deleting log for topic, all log dirs failed.
Key: KAFKA-6322
URL: https://issues.apache.org/jira/browse/KAFKA-6322
Project: Kafka
Issue Type: Bug
Affects Versions: 1.0.0
Environment: RancherOS with NFS mounted for log directory
Reporter: dongyan li
Hello,
I encountered a error when I try to delete a topic with kafka version 1.0.0,
the error is not present on version 0.10.2.1 which is the version I upgraded
from.
I suspect that some other thread is still using that file while the Kafka is
trying to delete that.
{code:java}
12/6/2017 3:37:32 PM[2017-12-06 21:37:32,846] ERROR Exception while deleting
Log(/opt/kafka/logs/topicname-0.112ff11872e4411ca7470ba7e3026ab0-delete) in dir
/opt/kafka/logs. (kafka.log.LogManager)
12/6/2017 3:37:32 PMorg.apache.kafka.common.errors.KafkaStorageException: Error
while deleting log for topicname-0 in dir /opt/kafka/logs
12/6/2017 3:37:32 PMCaused by: java.nio.file.FileSystemException:
/opt/kafka/logs/topicname-0.112ff11872e4411ca7470ba7e3026ab0-delete/.nfs0000000000e609f2000000ce:
Device or resource busy
12/6/2017 3:37:32 PM at
sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
{code}
Then
{code:java}
12/6/2017 3:37:32 PM[2017-12-06 21:37:32,882] INFO Stopping serving logs in dir
/opt/kafka/logs (kafka.log.LogManager)
12/6/2017 3:37:32 PM[2017-12-06 21:37:32,883] FATAL Shutdown broker because all
log dirs in /opt/kafka/logs have failed (kafka.log.LogManager)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)