You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/05/16 22:14:48 UTC

[GitHub] [incubator-pinot] Jackie-Jiang commented on issue #5402: Rebalancing the segments didn't work when there is only one kafka partition

Jackie-Jiang commented on issue #5402:
URL: https://github.com/apache/incubator-pinot/issues/5402#issuecomment-629712786


   Hi @buchireddy, this is the expected behavior because partition-based assignment is implicit for the LLC consuming segments.
   In order to rebalance the completed segments on to another set of servers, you can configure another tag for the servers to hold the completed segments and use the TagOverrideConfig to relocate the completed segments to that tag.
   
   E.g. your current TenantConfig is:
   ```
   {
     "broker": "testTable",
     "server": "testTable"
   }
   ```
   You can configure a new tag "testTable_OFFLINE" and tag some servers, then change your TenantConfig to:
   ```
   {
     "broker": "testTable",
     "server": "testTable",
     "tagOverrideConfig": {
       "realtimeConsuming": "testTable_REALTIME",
       "realtimeCompleted": "testTable_OFFLINE"
     }
   }
   ```
   Then the rebalancer will relocate the completed segments to the servers with tag "testTable_OFFLINE". We also have periodic task to automatically relocate the completed segments.


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org