Support Questions
Find answers, ask questions, and share your expertise

Delete orphaned kafka partitions

New Contributor

We restarted kafka server. It complained about offline partitions. We used kafka-topics.sh command to find more info. It didn't show anything. Could someone instruct me how to delete offline partitions manually in detail? Thanks.

1 ACCEPTED SOLUTION

Cloudera Employee

@bluespring One should not be deleting the offline/online partitions that may cause in data loss or under-replicated partitions. You may reassign the partitions to new hosts following the document below:

https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/kafka-managing/topics/kafka-manage-cli-reassi...

View solution in original post

3 REPLIES 3

Cloudera Employee

@bluespring One should not be deleting the offline/online partitions that may cause in data loss or under-replicated partitions. You may reassign the partitions to new hosts following the document below:

https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/kafka-managing/topics/kafka-manage-cli-reassi...

New Contributor

Thanks. It is very helpful.

Moderator

@bluespring Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks!


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
; ;