celeborn icon indicating copy to clipboard operation
celeborn copied to clipboard

[CELEBORN-1629] Support to apply ratis election operation with RESTful api

Open turboFei opened this issue 1 year ago • 2 comments

What changes were proposed in this pull request?

As title.

Why are the changes needed?

It is more friendly for customer experience and necessary for automation integration.

Does this PR introduce any user-facing change?

Introduce new RESTful apis.

How was this patch tested?

election transfer: image

election pause and resume:

image

election step down: image

turboFei avatar Oct 03 '24 07:10 turboFei

+CC @akpatnam25 FYI for CLI

mridulm avatar Oct 03 '24 14:10 mridulm

It is done for ratis election apis.

cc @mridulm

turboFei avatar Oct 03 '24 19:10 turboFei

cc @AngersZhuuuu I saw that you add the docs for ratis-shell.

also cc @waitinfuture @RexXiong

turboFei avatar Oct 10 '24 06:10 turboFei

Could you also add the usage of the Ratis REST API in https://celeborn.apache.org/docs/latest/celeborn_ratis_shell

Sure, will add it later

turboFei avatar Oct 10 '24 17:10 turboFei

Thanks. merge to main(v0.6.0)

RexXiong avatar Oct 11 '24 02:10 RexXiong