public class HeronSubmitter
extends java.lang.Object
| Constructor and Description |
|---|
HeronSubmitter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
submitJar(Config config,
java.lang.String localJar)
Submits a topology to run on the cluster.
|
static void |
submitTopology(java.lang.String name,
Config heronConfig,
HeronTopology topology)
Submits a topology to run on the cluster.
|
public static void submitTopology(java.lang.String name,
Config heronConfig,
HeronTopology topology)
throws AlreadyAliveException,
InvalidTopologyException
name - the name of the topology.heronConfig - the topology-specific configuration. See Config.topology - the processing to execute.AlreadyAliveException - if a topology with this name is already runningInvalidTopologyException - if an invalid topology was submittedpublic static java.lang.String submitJar(Config config, java.lang.String localJar)