maobaolong opened a new pull request #555:
URL: https://github.com/apache/ratis/pull/555


   ## What changes were proposed in this pull request?
   
   Rename the assembly id from ratis-shell to shell to keep simple and 
meaningful.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1460
   
   ## How was this patch tested?
   
   ```Console
   ➜  incubator-ratis git:(rename-ratis-shell) ✗ mvn clean install  
assembly:single -DskipTests -Dmaven.javadoc.skip=true -Dlicense.skip=true  
-Dfindbugs.skip=true -Denforcer.skip=true   -Djsse.enableSNIExtension=false  
-Prelease -Papache-release
   ➜  incubator-ratis git:(rename-ratis-shell) cd ratis-assembly/target 
   ➜  target git:(rename-ratis-shell) tar -xzvf 
apache-ratis-2.3.0-SNAPSHOT-shell.tar.gz
   x 
apache-ratis-2.3.0-SNAPSHOT/lib/shell/ratis-shell-2.3.0-SNAPSHOT-jar-with-dependencies.jar
   x apache-ratis-2.3.0-SNAPSHOT/LICENSE
   x apache-ratis-2.3.0-SNAPSHOT/NOTICE
   x apache-ratis-2.3.0-SNAPSHOT/bin/
   x apache-ratis-2.3.0-SNAPSHOT/bin/ratis
   x apache-ratis-2.3.0-SNAPSHOT/libexec/
   x apache-ratis-2.3.0-SNAPSHOT/libexec/ratis-shell-config.sh
   x apache-ratis-2.3.0-SNAPSHOT/conf/
   x apache-ratis-2.3.0-SNAPSHOT/conf/log4j.properties
   
   ➜  target git:(rename-ratis-shell) cd apache-ratis-2.3.0-SNAPSHOT 
   ➜  apache-ratis-2.3.0-SNAPSHOT git:(rename-ratis-shell) bin/ratis sh
   Usage: ratis sh [generic options]
            [elect -address <HOSTNAME:PORT> -peers 
<PEER0_HOST:PEER0_PORT,PEER1_HOST:PEER1_PORT,PEER2_HOST:PEER2_PORT> [-groupid 
<RAFT_GROUP_ID>]]
            [group [list] [info]]                                     
            [peer -peers 
<PEER0_HOST:PEER0_PORT,PEER1_HOST:PEER1_PORT,PEER2_HOST:PEER2_PORT> [-groupid 
<RAFT_GROUP_ID>] -remove <PEER_HOST:PEER_PORT> -add <PEER_HOST:PEER_PORT>]
            [setPriority -peers 
<PEER0_HOST:PEER0_PORT,PEER1_HOST:PEER1_PORT,PEER2_HOST:PEER2_PORT> [-groupid 
<RAFT_GROUP_ID>] -addressPriority <PEER_HOST:PEER_PORT|PRIORITY>]
   
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to