A project provide a shell to talk to ratis server

Overview

ratis-shell

A project provide a shell to talk to ratis server

how to build

mvn clean package

how to run

  • Prepare a config file
cp ./conf/ratis-shell-site.properties.template ./conf/ratis-shell-site.properties
  • Use ratis-shell by shell script
bin/ratis sh elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201 -groupid 02511d47-d67c-49a3-9011-abb3109a44c1
# or if you set ratis-shell-site.properties config file
bin/ratis sh elect -serviceid alluxio-master -address localhost:19201
  • Use ratis-shell by jar
java -jar ./target/ratis-shell-1.0.0-jar-with-dependencies.jar  elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201
# or if you set ratis-shell-site.properties config file
java -Dratis.shell.home=./ -jar ./target/ratis-shell-1.0.0-jar-with-dependencies.jar elect -serviceid alluxio-master -address localhost:19201

wiki

https://github.com/opendataio/ratis-shell/wiki

You might also like...

Spring based interactive shell

Spring Shell 3 Spring Shell 3 is a work to solely depend on Spring Boot 2.x and not trying to keep any backward compatibility with older Spring Shell

Dec 14, 2022

A virtual Linux shell environment application for Android OS. Runs Alpine Linux in QEMU system emulator. Termux app fork.

vShell (Virtual Shell) — a successor of Termux project which provides an alternate implementation of the Linux terminal emulator for Android OS.

Feb 1, 2022

A webshell application and interactive shell for pentesting Apache Tomcat servers.

A webshell application and interactive shell for pentesting Apache Tomcat servers.

Apache Tomcat webshell application for RCE A webshell application and interactive shell for pentesting Apache Tomcat servers. Features Webshell plugin

Jan 1, 2023

A webshell application and interactive shell for pentesting Apache Tomcat servers.

A webshell application and interactive shell for pentesting Apache Tomcat servers.

Apache Tomcat webshell application for RCE A webshell application and interactive shell for pentesting Apache Tomcat servers. Features Webshell plugin

Aug 7, 2022

The quickstarts demonstrate JBoss EAP, Jakarta EE 8 and a few additional technologies. They provide small, specific, working examples that can be used as a reference for your own project.

shared-doc/attributes.adoc WildFly Quickstarts The quickstarts demonstrate Jakarta EE 8 and a few additional technologies from the WildFly stack. They

Dec 16, 2022

To quickly integrate your applications into the EdgeGallery platform, we provide the toolchain project to help developers quickly modify code and migrate applications to the platform.

Toolchain 工具链 工具链是MEC Developer开发者平台中的一个重要特性,当x86平台的App想要上车ARM平台时,底层的代码不可避免的需要进行修改或重写。 App提供者可以通过MEC Developer开发者平台中集成的工具链进行源代码分析,定位需要修改的源代码并根据指导意见进行修

Jan 7, 2022

💡极致性能的企业级Java服务器框架,RPC,游戏服务器框架,web应用服务器框架。(Extreme fast enterprise Java server framework, can be RPC, game server framework, web server framework.)

💡极致性能的企业级Java服务器框架,RPC,游戏服务器框架,web应用服务器框架。(Extreme fast enterprise Java server framework, can be RPC, game server framework, web server framework.)

👉 为性能而生的万能服务器框架 👈 Ⅰ. zfoo简介 🚩 性能炸裂,天生异步,Actor设计思想,无锁化设计,基于Spring的MVC式用法的万能RPC框架 极致序列化,原生集成的目前二进制序列化和反序列化速度最快的 zfoo protocol 作为网络通讯协议 高可拓展性,单台服务器部署,

Jan 1, 2023

Java library to provide an API for beans and properties.

Joda-Beans Joda-Beans provides a small framework that adds properties to Java, greatly enhancing JavaBeans. An API is provided that defines a bean and

Nov 25, 2022

Governator is a library of extensions and utilities that enhance Google Guice to provide: classpath scanning and automatic binding, lifecycle management, configuration to field mapping, field validation and parallelized object warmup.

Governator DESCRIPTION Governator is a library of extensions and utilities that enhance Google Guice to provide injector lifecycle and well as support

Dec 28, 2022

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.

Avian - A lightweight Java Virtual Machine (JVM) PLEASE NOTE: This project is not currently being developed, maintained, or supported. Feel free to us

Dec 22, 2022

jdbi is designed to provide convenient tabular data access in Java; including templated SQL, parameterized and strongly typed queries, and Streams integration

The Jdbi library provides convenient, idiomatic access to relational databases in Java. Jdbi is built on top of JDBC. If your database has a JDBC driv

Dec 27, 2022

A simple JavaFX application to load, save and edit a CSV file and provide a JSON configuration for columns to check the values in the columns.

A simple JavaFX application to load, save and edit a CSV file and provide a JSON configuration for columns to check the values in the columns.

SmartCSV.fx Description A simple JavaFX application to load, save and edit a CSV file and provide a JSON Table Schema for columns to check the values

Oct 24, 2022

A library that provide informations for minecraft servers (players, maxplayers and motd)

MinecraftServerInformations MinecraftServerInformation is a java library for retrieving informations about Minecraft Servers. Installation Download th

Sep 11, 2022

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!

Dec 18, 2022

Provide image storage and access services.

Provide image storage and access services.

Jan 23, 2022

OAUTHScan is a Burp Suite Extension written in Java with the aim to provide some automatic security checks

OAUTHScan is a Burp Suite Extension written in Java with the aim to provide some automatic security checks, which could be useful during penetration testing on applications implementing OAUTHv2 and OpenID standards.

Nov 29, 2022

An intelliJ plugin providing a UI layer for git-flow, which in itself is a collection of Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

An intelliJ plugin providing a UI layer for git-flow, which in itself is a collection of Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Git Flow Integration Plus for Intellij An intelliJ plugin providing a UI layer for git-flow, which in itself is a collection of Git extensions to prov

Nov 8, 2022
Comments
  • Support Elect a specify leader

    Support Elect a specify leader

    bin/ratis sh elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201
    Applying new peer state before transferring leadership: [localhost_19202|rpc:localhost:19202|priority:1, localhost_19201|rpc:localhost:19201|priority:2, localhost_19200|rpc:localhost:19200|priority:1]
    Transferring leadership to server with address <localhost:19201> and with RaftPeerId <localhost_19201>
    Transferring leadership initiated
    
    feature 
    opened by maobaolong 1
  • Support Display group info

    Support Display group info

    Fix #8

    bin/ratis sh info -peers localhost:19200,localhost:19201,localhost:19202 -groupid 02511d47-d67c-49a3-9011-abb3109a44c1
    
    [server {
      id: "localhost_19200"
      address: "localhost:19200"
      priority: 1
    }
    commitIndex: 18
    , server {
      id: "localhost_19202"
      address: "localhost:19202"
      priority: 1
    }
    commitIndex: 18
    , server {
      id: "localhost_19201"
      address: "localhost:19201"
      priority: 2
    }
    commitIndex: 18
    ]
    leader id: localhost_19201
    
    
    opened by maobaolong 0
  • Support ElectCommand specify groupid

    Support ElectCommand specify groupid

    Fix #4

     bin/ratis sh elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201 -groupid 02511d47-d67c-49a3-9011-abb3109a44c1
    
    opened by maobaolong 0
  • Support shell script to execute the ratis shell command

    Support shell script to execute the ratis shell command

    bin/ratis sh elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201
    
    Applying new peer state before transferring leadership: [localhost_19202|rpc:localhost:19202|priority:1, localhost_19201|rpc:localhost:19201|priority:2, localhost_19200|rpc:localhost:19200|priority:1]
    Transferring leadership to server with address <localhost:19201> and with RaftPeerId <localhost_19201>
    Transferring leadership initiated
    
    
    feature 
    opened by maobaolong 0
Releases(v1.0.1)
Owner
null
HornetQ is an open source project to build a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system.

HornetQ If you need information about the HornetQ project please go to http://community.jboss.org/wiki/HornetQ http://www.jboss.org/hornetq/ This file

HornetQ 245 Dec 3, 2022
Kryptonite is a turn-key ready transformation (SMT) for Apache Kafka® Connect to do field-level 🔒 encryption/decryption 🔓 of records. It's an UNOFFICIAL community project.

Kryptonite - An SMT for Kafka Connect Kryptonite is a turn-key ready transformation (SMT) for Apache Kafka® to do field-level encryption/decryption of

Hans-Peter Grahsl 53 Jan 3, 2023
Demo project for Kafka Ignite streamer, Kafka as source and Ignite cache as sink

ignite-kafka-streamer **Description : Demo project for Kafka Ignite streamer, Kafka as source and Ignite cache as sink Step-1) Run both Zookeeper and

null 1 Feb 1, 2022
Template for an Apache Flink project.

Minimal Apache Flink Project Template It contains some basic jobs for testing if everything runs smoothly. How to Use This Repository Import this repo

Timo Walther 2 Sep 20, 2022
SMS app based on QKSMS. DISCLAIMER: This project is intended for my own use. No issues are accepted

Messages Messages is an open source replacement to the stock messaging app on Android. DISCLAIMER: Unlike most other projects, this project is for my

Muntashir Al-Islam 13 Dec 16, 2022
Unixcounter - The new unixcounter project. Based on JavaEE + VueJS (server) and POSIX shell (client)

The Unix Counter Table of Contents Description Contributing Documentation Installation License This is the successor of the Linux Counter Project, whi

The Linux Counter Project 9 Dec 23, 2022
Project developed for MB Talk - App Center integration on React Native

App Center Setup Download APK Click here Requirements React Native CLI Yarn Sign Up on App Center and create a new App. How to use this repo Clone thi

André Angeloni 2 Oct 31, 2022
source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Reactive" talk held at ApacheCon@Home 2021

reactive-iot-backend The is the source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Re

Lari Hotari 4 Jan 13, 2022
Codebase for talk on Spring I/O 2022 in Barcelona about Spring for Apache Kafka

Spring I/O Barcelona 2022 - Spring Kafka beyond the basics Codebase for my talk on Spring I/O 2022 in Barcelona about Spring for Apache Kafka Slides P

Tim van Baarsen 18 Dec 24, 2022
The shell for the Java Platform

______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| |

CRaSH Repositories 916 Dec 30, 2022