This directory contains the example that distributes a shell command to the cluster. This README explain how to quick-start this example.
This example also aims to explore better API for user to implement a new application, including AppMaster and Task.
In order to run the example:
Start a gearpump cluster, including Master and Workers.
Start the AppMaster:
target/pack/bin/gear app -jar target/pack/examples/gearpump-experiments-distributedshell_$VERSION.jar org.apache.gearpump.examples.distributedshell.DistributedShell
target/pack/bin/gear app -verbose true -jar target/pack/examples/gearpump-experiments-distributedshell_$VERSION.jar org.apache.gearpump.examples.distributedshell.DistributedShellClient -appid $APPID -command "ls /"