hey IPVP,

Sounds like you are using Storm's "LocalCluster", which runs the entire
storm environment inside a single process.
So yes, in the class passed to "bin/storm jar", the main() method should be
using StormSubmitter.submitTopology() to launch the topology into your
"real" cluster.

- Erik

On Wed, Mar 23, 2016 at 12:04 PM, I PVP <[email protected]> wrote:

> Hi everyone,
>
> I am new to Storm.
>
> Whats is the correct way to submit topology(ies) to production cluster and
>  make/leave the topologies running indefinitely  ?
>
> Considering that I will have dozens of topologies,  what is the proper way
> to submit them in an efficient fashion ?
>
> I have my topologies running fine on local machine and also running fine
> when I use the $STORM_HOME/bin/storm jar <jarfile> <tipology class>. But
> the command line must remain open for them to run. If I do control+c to
> release the command line  the Topology stops running.
>
> The Storm UI is not showing the running topologies, but they are running
>  for sure via $STORM_HOME/bin/storm jar.
> The "$STORM_HOME/bin/storm list" is not showing the running topologies.
>
> I did read the documentation
> http://storm.apache.org/documentation/Running-topologies-on-a-production-cluster.html
> .
>
> Is creating a class that calls StormSubmitter.submitTopology() from the
> main method for each topology  that way to do it ?
>
>
> Thanks
>
> IPVP
>
>

Reply via email to