You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/10/23 23:48:00 UTC
[jira] [Updated] (KAFKA-4690) IllegalStateException using
DeleteTopicsRequest when delete.topic.enable=false
[ https://issues.apache.org/jira/browse/KAFKA-4690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Lin updated KAFKA-4690:
----------------------------
Fix Version/s: (was: 2.1.0)
> IllegalStateException using DeleteTopicsRequest when delete.topic.enable=false
> ------------------------------------------------------------------------------
>
> Key: KAFKA-4690
> URL: https://issues.apache.org/jira/browse/KAFKA-4690
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.10.2.0
> Environment: OS X
> Reporter: Jon Chiu
> Assignee: Manikumar
> Priority: Major
> Attachments: delete-topics-request.java
>
>
> There is no indication as to why the delete request fails. Perhaps an error code?
> This can be reproduced with the following steps:
> 1. Start ZK and 1 broker (with default {{delete.topic.enable=false}})
> 2. Create a topic test
> {noformat}
> bin/kafka-topics.sh --zookeeper localhost:2181 \
> --create --topic test --partition 1 --replication-factor 1
> {noformat}
> 3. Delete topic by sending a DeleteTopicsRequest
> 4. An error is returned
> {noformat}
> org.apache.kafka.common.errors.DisconnectException
> {noformat}
> or
> {noformat}
> java.lang.IllegalStateException: Attempt to retrieve exception from future which hasn't failed
> at org.apache.kafka.clients.consumer.internals.RequestFuture.exception(RequestFuture.java:99)
> at io.confluent.adminclient.KafkaAdminClient.send(KafkaAdminClient.java:195)
> at io.confluent.adminclient.KafkaAdminClient.deleteTopic(KafkaAdminClient.java:152)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)