Reducing Partition count - server does not host this topic-partition
See original GitHub issueI had 4 partitions and 3 Pinot servers running. And noticed that only 3 partitions are getting consumed as I only have 3 servers. So I reduced the partition count from 4 to 3 in kafka. After that I am seeing errors in one of the Pinot server, other servers are fine. Restarts not fixing this issue.
my-pinot-server-2 server 2021/02/03 21:22:40.400 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:40.503 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:40.605 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:40.707 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:40.809 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:40.911 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.014 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.116 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.218 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.328 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.430 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.532 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
my-pinot-server-2 server 2021/02/03 21:22:41.635 ERROR [ConsumerCoordinator] [mylog__3__0__20210203T1927Z] [Consumer clientId=consumer-3, groupId=] Offset commit failed on partition my_all_logs-3 at offset 0: This server does not host this topic-partition.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
server does not host this topic-partition · Issue #6539 - GitHub
So I reduced the partition count from 4 to 3 in kafka. After that I am seeing errors in one of the Pinot...
Read more >This server does not host this topic-partition - Stack Overflow
We have encountered few exception on production environment: UnknownTopicOrPartitionException: This server does not host this topic-partition.
Read more >KIP-694: Support Reducing Partitions for Topics
The cluster has a large number of topics and total number of partitions is close to the limit. Most of the dynamic topics...
Read more >How to change the number of partitions and replicas of a ...
In this tutorial, learn how to change the number of partitions or replicas of a Kafka topic using ksqlDB, with step-by-step instructions and...
Read more >Choosing the number of partitions for a topic
Learn how to determine the number of partitions each of your Kafka topics requires. ... Reducing the number of partitions is not currently...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
By design, Pinot is not handling the shrinking case. I think you need to manually delete the consuming segment
mylog__3__0__20210203T1927Z
. Also delete topic and recreate may mess up the consumer offset, @npawar may have more saying about this.Closing ticket as this is not supported feature.