kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6093) replica dir not deleted after topic deletion
Date Fri, 20 Oct 2017 01:13:00 GMT
Jun Rao created KAFKA-6093:

             Summary: replica dir not deleted after topic deletion
                 Key: KAFKA-6093
                 URL: https://issues.apache.org/jira/browse/KAFKA-6093
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 1.0.0
            Reporter: Jun Rao
            Priority: Blocker

Did the following test.

1. bin/kafka-topics.sh  --zookeeper localhost:2181 --topic test --partitions 1 --replication-factor
1 --create

2. bin/kafka-topics.sh  --zookeeper localhost:2181 --topic test --delete

Saw the following in the broker log.

[2017-10-19 17:54:43,413] INFO Log for partition test-0 is renamed to /tmp/kafka-logs/test-0.0b578c684ec540b48bf63ecec1752f02-delete
and is scheduled for deletion (kafka.log.LogManager)
[2017-10-19 17:55:27,034] ERROR Exception while deleting Log(/tmp/kafka-logs/test-0.0b578c684ec540b48bf63ecec1752f02-delete)
in dir /tmp/kafka-logs. (kafka.log.LogManager)
org.apache.kafka.common.errors.KafkaStorageException: The log for partition test-0 is offline

This message was sent by Atlassian JIRA

View raw message