You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2017/11/08 20:37:00 UTC

[jira] [Updated] (RATIS-95) Executable Jar for the ratis examples

     [ https://issues.apache.org/jira/browse/RATIS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elek, Marton updated RATIS-95:
------------------------------
    Attachment: RATIS-95.wip.patch

Preview version of the patch is uploaded. Stil I am thinking what is the best place for the sh scripts (should I add it to the dist package or enough to move it to the example/src/main/bin?)

> Executable Jar for the ratis examples
> -------------------------------------
>
>                 Key: RATIS-95
>                 URL: https://issues.apache.org/jira/browse/RATIS-95
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>         Attachments: RATIS-95.wip.patch
>
>
> The current example project shows an example implementation of the base interfaces. I suggest to create simple CLI application for the test (just an additional class with main and argument parsing) to make it easier to demonstrate how a ratis cluster could be run.
> For example:
> {code}
> java -jar ratis-examples-uber.jar --port 2323 --id node2 --peers node3:localhost:4566,node1:localhost:3456  
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)