[ 
https://issues.apache.org/jira/browse/STORM-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953919#comment-15953919
 ] 

Robert Joseph Evans commented on STORM-2447:
--------------------------------------------

Sorry I just reread your comment and I will update the documentation to call 
out this use case and show them how to do it.

> Make local cluster transparent
> ------------------------------
>
>                 Key: STORM-2447
>                 URL: https://issues.apache.org/jira/browse/STORM-2447
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>    Affects Versions: 2.0.0
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>
> As part of the work for STORM-2441.  We would like to split the storm 
> classpath down so the client jar only has what it needs.  Everything else is 
> in a separate classpath(s) for daemon processes.  One of the issues with this 
> is that local mode is built into almost all examples because it uses a 
> separate API from the normal storm client API.
> To work around this we really should add in a new option to {{storm jar}} 
> that will include everything on the classpath, set a SystemProperty and call 
> into a special Main Method.   The new main method will 
> 1) start up the LocalCluster
> 2) configure SotrmSubmitter, NimbusClinet and DRPCClient to talk to the 
> LocalCluster instead.
> 3) run the regular main method
> 4) optionally sleep for a configurable amount of time
> 5) shut down the local cluster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to