Tigon Tools

Tigon Command-Line Interface

Introduction

The Command-Line Interface (CLI) provides methods to interact with a running Tigon instance from within a shell, similar to HBase shell or bash. It is automatically started once you start Tigon in Distributed Mode.

The executable should bring you into a shell, with this prompt:

tigon >

To list all of the available commands, enter help:

tigon > help

To list all Flows currently running in Tigon, use:

tigon > list

To stop the Flow prior to shutting down distributed mode, use:

tigon > delete <flow-name>

You can then exit the command-line interface either with quit or Control-C.

Available Commands

These are the available commands:

Command Description
General  
help <command> Shows the usage for a given command
version Prints the version of Tigon
status <flow-name> Prints the status of the Flow flow-name
quit Quits the shell
   
Starting Elements  
start <path-to-jar> <flow-classname> [ --key1=v1 --key2=v2 ] Starts a Flow with Runtime Arguments
stop <flow-name> Stops the Flow flow-name
delete <flow-name> Stops and Deletes the Queues for the Flow flow-name
set <flow-name> <flowlet-name> <instances> Set the number of instance of a Flowlet flowlet-name for the Flow flow-name
   
Listing Elements  
list Lists all Flows which are currently running
serviceinfo <flow-name> Prints all Services announced in the Flow flow-name
discover <flow-name> <service-name> Discovers a service endpoint of a Service service-name for the Flow flow-name
flowletinfo <flow-name> Prints Flowlet Names and corresponding Instances for the Flow flow-name
showlogs <flow-name> Shows live logs of the Flow flow-name

Where to Go Next

Now that you’re seen the command line tool for Tigon, take a look at:

  • Admin, which describes administrating a Tigon application.