The commands can be found at: “bin” folder of Gearpump binary.
NOTE: on MS Windows platform, please use window shell gear.bat script instead. bash script doesn't work well in cygwin/mingw.
If you use Maven you can have a look here whereas SBT users may find this useful.
You can use the command gear
under the bin directory to submit, query and terminate an application:
:::bash gear app [-namePrefix <application name prefix>] [-executors <number of executors to launch>] [-conf <custom gearpump config file>] -jar xx.jar MainClass <arg1> <arg2> ...
To list all running applications:
:::bash gear info [-conf <custom gearpump config file>]
To kill an application:
:::bash gear kill -appid <application id> [-conf <custom gearpump config file>]
For example, to submit a storm application jar:
:::bash storm -verbose -config storm.yaml -jar storm-starter-${STORM_VERSION}.jar storm.starter.ExclamationTopology exclamation
To start a Gearpump Cluster on YARN, you can:
:::bash yarnclient launch -package /usr/lib/gearpump/gearpump-{{SCALA_BINARY_VERSION}}-{{GEARPUMP_VERSION}}.zip
/usr/lib/gearpump/gearpump-{{SCALA_BINARY_VERSION}}-{{GEARPUMP_VERSION}}.zip
should be available on HDFS.
Please check YARN Deployment Guide for more information.
Masters and workers will be started in one machine:
:::bash local
Check Deployment Guide for Local Cluster for more information.
:::bash master -ip <Ip address> -port <port where this master is hooking>
Please check Deployment for Standalone mode for more information.
:::bash worker
Please check Deployment for Standalone mode for more information.
To start UI server, you can:
:::bash services [-master <host:port>]
The default username and password is “admin:admin”, you can check UI Authentication to find how to manage users.