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:15:38 UTC

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

caofangkun created STORM-327:
--------------------------------

             Summary: 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


{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)