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 2022/10/07 22:54:42 UTC

[GitHub] [pinot] dang-stripe opened a new issue, #9558: Add API for checking rebalance status

dang-stripe opened a new issue, #9558:
URL: https://github.com/apache/pinot/issues/9558

   It'd be great to have an API to check rebalance status programmatically so we can automate rebalances. Currently the API always returns in-progress and requires checking the controller logs for status or checking external view / ideal state. https://github.com/apache/pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java#L677


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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org

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


[GitHub] [pinot] Jackie-Jiang closed issue #9558: Add API for checking table rebalance status

Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang closed issue #9558: Add API for checking table rebalance status
URL: https://github.com/apache/pinot/issues/9558


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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


[GitHub] [pinot] antwigambrah commented on issue #9558: Add API for checking table rebalance status

Posted by GitBox <gi...@apache.org>.
antwigambrah commented on issue #9558:
URL: https://github.com/apache/pinot/issues/9558#issuecomment-1280388848

   Hi @Jackie-Jiang please assign this to me . By the way , per the discussions  above running rebalance  returns IN_PROGRESS for the first time , when you run again in dry-mode=false , it should return no-op and when the idealstate=external view the status should be returned as 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.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


[GitHub] [pinot] Jackie-Jiang commented on issue #9558: Add API for checking table rebalance status

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #9558:
URL: https://github.com/apache/pinot/issues/9558#issuecomment-1281659683

   Thank @antwigambrah for volunteering. We should not run the rebalance in regular (non-dry) mode again when a previous one is in progress. If you run the dry-run mode again, it should return no-op when the rebalance already reach the end state.


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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


[GitHub] [pinot] Jackie-Jiang commented on issue #9558: Add API for checking table rebalance status

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #9558:
URL: https://github.com/apache/pinot/issues/9558#issuecomment-1272233880

   One workaround for this is to run the rebalance in dry-run mode and check the response. If the response is no-op, that means the ideal state is already reaching the end state (external view might not converge yet).
   We can add an API to apply similar idea, and also add extra check on whether the external view matches the ideal state.


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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


[GitHub] [pinot] Jackie-Jiang commented on issue #9558: Add API for checking table rebalance status

Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang commented on issue #9558:
URL: https://github.com/apache/pinot/issues/9558#issuecomment-1629982510

   Done with #10359


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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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