Hi baoloongmao, Thanks a lot for bringing up this discussion to add your ratis-shell work to Apache Ratis!
As discussed in RATIS-1412, it sounds like a great idea. I only have a concern that the ratis-shell module will bring some new dependencies. So we should make ratis-shell an optional module. If people don't use it, they won't have to download the raits-shell module and they won't get the dependencies. Also, we need to make sure the licenses of the dependencies are compatible with Apache. I did take a quick look. The licenses seem okay. After this discussion, we should start a VOTE. Regards, Tsz-Wo On Wed, Oct 13, 2021 at 12:14 PM baoloongmao(毛宝龙) <[email protected]> wrote: > Hello all! > > As ratis is a base third-party dependency of Apache Ozone and Alluxio, the > meta service of the two famous systems implemented high-available feature > leverage ratis. > > Now, both Ozone and Alluxio need ratis related shell commands, something > like `transferleader`, `info`, `setPriority`, `addPeer`, `removePeer` and > so on. The two communities are implementing their own shell command line > tools individually but copy some code from one repository to another > repository. > > So, I decided to create an open source repository > https://github.com/opendataio/ratis-shell and I’m glad many users like > it, some of them are alluxio users, some are ozone users. This is why I > propose to integrate this into the ratis repository. > > For more information, you can references > > > * https://issues.apache.org/jira/browse/RATIS-1412 > * design doc< > https://docs.google.com/document/d/1L-iCSdKxNWBVNaWxmdzs64cPt85okmNj3PRNHUEGTIo/edit?usp=sharing > > > * https://github.com/apache/ratis/pull/511 > * https://github.com/opendataio/ratis-shell > * https://github.com/opendataio/ratis-shell/wiki > > Please let me know your thoughts, thank you very much for any reply and > comments. > > Thanks & Regards, > > baoloongmao >
