You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/04 10:44:50 UTC
[GitHub] [pulsar] candlerb opened a new issue #5555: Compacted topics can't
be deleted - 500 Internal Server Error
candlerb opened a new issue #5555: Compacted topics can't be deleted - 500 Internal Server Error
URL: https://github.com/apache/pulsar/issues/5555
**Describe the bug**
500 Internal Server error when trying to delete compacted topic.
**To Reproduce**
Run python test suite.
After running the test suite several times, I'm left with a bunch of topics which can't be deleted:
```
$ ../../bin/pulsar-admin topics list public/default
"persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
"persistent://public/default/compaction_81a36b03-54bd-4019-9189-4c5de65ecb14"
"persistent://public/default/compaction_cef2af19-6fad-4e91-b1d2-7c98c7119650"
"persistent://public/default/compaction_e748f6fc-5104-4fd2-af65-d316f83079b7"
"persistent://public/default/compaction_49594c8d-9dc3-42cf-bfd0-330ac4a083e8"
"persistent://public/default/compaction_56e01255-80ac-4390-a34a-3bb81ecc17a4"
"persistent://public/default/compaction_dd7c85e6-807a-4444-aa77-815a41f4bdf4"
"persistent://public/default/compaction_439d22a6-9e75-4e03-9a28-2ee849b04104"
"persistent://public/default/compaction_48f1ac1e-24dd-411d-ad63-ac99c549ded6"
$ ../../bin/pulsar-admin topics delete "persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
10:39:48.073 [AsyncHttpClient-5-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1?force=false] Failed to perform http delete request: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
HTTP 500 Internal Server Error
Reason: HTTP 500 Internal Server Error
$ ../../bin/pulsar-admin topics delete -f "persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
10:41:54.772 [AsyncHttpClient-5-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1?force=true] Failed to perform http delete request: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
HTTP 500 Internal Server Error
Reason: HTTP 500 Internal Server Error
```
**Expected behavior**
* Topic to be deleted, or:
* a sensible error message returned explaining why the deletion cannot be done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services