In storm, local mode means you run by using LocalCluster class its a
simulated cluster for testing topologies and aid development of
topologies . Example of LocalCluster
https://github.com/apache/storm/blob/master/examples/storm-starter/src/jvm/storm/starter/WordCountTopology.java#L99

In production it would be a distributed cluster. One needs to setup a
distributed cluster and config you showed seems ok .
You can follow steps here setup up a single node cluster
http://blog.harsha.io/setting-up-a-single-node-apache-storm-cluster/
and same can be extended for multi-node cluster.

I am not quite sure about what you mean by importing a topology that run
in two modes in local or production. In the first link I gave you ,
wordcount topology can run local cluster and on distributed as well.

-Harsha

On Thu, Dec 24, 2015, at 08:54 AM, researcher cs wrote:
> can i find help ?
> 
> On Thu, Dec 24, 2015 at 7:08 AM, researcher cs
> <[email protected]>
> wrote:
> 
> > I want to import a project that run in two modes "local and production"
> > mode
> >
> > want to get what is mean by production mode is that mean in cluster or
> > distributed mode ?
> >
> > and if that right . are the configurations in storm.yaml is like that or
> > not ?
> > storm.zookeeper.servers:
> >      - "ipaddress"
> >     nimbus.host: "ipaddress"
> > storm.zookeeper.port: 2181
> >
> > storm.local.dir: /home/storm
> >
> > supervisor.slots.ports:
> >     - 6700
> >     - 6701
> >     - 6702
> >     - 6703
> > drpc.port: 3772
> > drpc.servers:
> >    - "localhost"
> >
> > and zoo.cfg is
> > tickTime=2000
> > dataDir=/home/storm/zookeeper
> > clientPort=2181
> > initLimit=5
> > syncLimit=2
> >

Reply via email to