You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "caofangkun (JIRA)" <ji...@apache.org> on 2014/05/20 05:19:37 UTC

[jira] [Updated] (STORM-327) command-line interface for Storm and provide some lkind of Script to assemble and install topology

     [ https://issues.apache.org/jira/browse/STORM-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

caofangkun updated STORM-327:
-----------------------------

    Attachment: screenshot-1.jpg

deamon script  



> command-line interface  for Storm and provide some lkind of Script  to assemble and install topology 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: STORM-327
>                 URL: https://issues.apache.org/jira/browse/STORM-327
>             Project: Apache Storm (Incubating)
>          Issue Type: New Feature
>            Reporter: caofangkun
>            Priority: Minor
>         Attachments: screenshot-1.jpg
>
>
> {code}
> > set topology.name=test_topology;
> > set storm.jar=./jstorm-example-0.9.0.jar;
> > add jar jstorm-example-0.9.0.jar;
> > REGISTER spout=SPOUT("storm.starter.spout.RandomSentenceSpout", 5);
> > REGISTER split=BOLT("storm.starter.WordCountTopology$SplitSentence", 8).SHUFFLE("spout");
> > REGISTER count=BOLT("storm.starter.WordCountTopology$WordCount", 12).FIELDS("split", "word");
> > submit;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)