bin/storm.py
def local(jarfile, klass, *args):
    """Syntax: [storm local topology-jar-path class ...]

    Runs the main method of class with the specified arguments but pointing to a local cluster
    The storm jars and configs in ~/.storm are put on the classpath.
    The process is configured so that StormSubmitter
    (http://storm.apache.org/releases/current/javadocs/org/apache/storm/StormSubmitter.html)
    and others will interact with a local cluster instead of the one configured by default.

    Most options should work just like with the storm jar command.

    local also adds in the option --local-ttl which sets the number of seconds the
    local cluster will run for before it shuts down.

    --java-debug lets you turn on java debugging and set the parameters passed to -agentlib:jdwp on the JDK
    --java-debug transport=dt_socket,address=localhost:8000
    will open up a debugging server on port 8000.
    """
    [ttl, debug_args, args] = parse_local_opts(args)
    extrajvmopts = ["-Dstorm.local.sleeptime=" + ttl]
    if debug_args != None:
        extrajvmopts = extrajvmopts + ["-agentlib:jdwp=" + debug_args]
    run_client_jar(jarfile, "org.apache.storm.LocalCluster", [klass] + list(args), client=False, daemon=False, extrajvmopts=extrajvmopts)
Syntax: [storm local topology-jar-path class ...]

    Runs the main method of class with the specified arguments but pointing to a local cluster
    The storm jars and configs in ~/.storm are put on the classpath.
    The process is configured so that StormSubmitter
    (http://storm.apache.org/releases/current/javadocs/org/apache/storm/StormSubmitter.html)
    and others will interact with a local cluster instead of the one configured by default.

    Most options should work just like with the storm jar command.

    local also adds in the option --local-ttl which sets the number of seconds the
    local cluster will run for before it shuts down.

    --java-debug lets you turn on java debugging and set the parameters passed to -agentlib:jdwp on the JDK
    --java-debug transport=dt_socket,address=localhost:8000
    will open up a debugging server on port 8000.
    
[storm local topology-jar-path class ...]
Runs the main method of class with the specified arguments but pointing to a local cluster
The storm jars and configs in ~/.storm are put on the classpath.
The process is configured so that StormSubmitter

and others will interact with a local cluster instead of the one configured by default.

Most options should work just like with the storm jar command.

local also adds in the option --local-ttl which sets the number of seconds the
local cluster will run for before it shuts down.

java-debug lets you turn on java debugging and set the parameters passed to -agentlib:jdwp on the JDK
java-debug transport=dt_socket,address=localhost:8000
will open up a debugging server on port 8000.
[ storm local topology - jar - path class ... ] Runs the main method of class with the specified arguments but pointing to a local cluster The storm jars and configs in ~ / . storm are put on the classpath . The process is configured so that StormSubmitter and others will interact with a local cluster instead of the one configured by default . Most options should work just like with the storm jar command . local also adds in the option -- local - ttl which sets the number of seconds the local cluster will run for before it shuts down . java - debug lets you turn on java debugging and set the parameters passed to - agentlib : jdwp on the JDK java - debug transport = dt_socket address = localhost : 8000 will open up a debugging server on port 8000 .
def local(jarfile, klass, *args):
    [ttl, debug_args, args] = parse_local_opts(args)
    extrajvmopts = ["-Dstorm.local.sleeptime=" + ttl]
    if debug_args != None:
        extrajvmopts = extrajvmopts + ["-agentlib:jdwp=" + debug_args]
    run_client_jar(jarfile, "org.apache.storm.LocalCluster", [klass] + list(args), client=False, daemon=False, extrajvmopts=extrajvmopts)
def local ( jarfile , klass , * args ) : [ ttl , debug_args , args ] = parse_local_opts ( args ) extrajvmopts = [ "-Dstorm.local.sleeptime=" + ttl ] if debug_args != None : extrajvmopts = extrajvmopts + [ "-agentlib:jdwp=" + debug_args ] run_client_jar ( jarfile , "org.apache.storm.LocalCluster" , [ klass ] + list ( args ) , client = False , daemon = False , extrajvmopts = extrajvmopts )
Syntax: [storm local topology-jar-path class ...]
Runs the main method of class with the specified arguments but pointing to a local cluster
The storm jars and configs in ~/.storm are put on the classpath.
Syntax : [ storm local topology - jar - path class ... ] Runs the main method of class with the specified arguments but pointing to a local cluster The storm jars and configs in ~ / . storm are put on the classpath .
"""Syntax: [storm local topology-jar-path class ...]

    Runs the main method of class with the specified arguments but pointing to a local cluster
    The storm jars and configs in ~/.storm are put on the classpath.
    The process is configured so that StormSubmitter
    (http://storm.apache.org/releases/current/javadocs/org/apache/storm/StormSubmitter.html)
    and others will interact with a local cluster instead of the one configured by default.

    Most options should work just like with the storm jar command.

    local also adds in the option --local-ttl which sets the number of seconds the
    local cluster will run for before it shuts down.

    --java-debug lets you turn on java debugging and set the parameters passed to -agentlib:jdwp on the JDK
    --java-debug transport=dt_socket,address=localhost:8000
    will open up a debugging server on port 8000.
    """
jarfile
klass