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

Matthieu Morel commented on S4-93:
----------------------------------

Right, whatever can facilitate development is usually worth having!

Currently, the easiest way to start nodes locally is to skip the deployment 
process and to directly run the {{org.apache.s4.core.Main}} class, passing as 
parameters the cluster name and the app class. E.g. {code}-c=C2 
-appClass=org.apache.s4.example.twitter.TwitterCounterApp {code} options for 
starting the Twitter app for instance (after making sure the classpath includes 
platform + app classes). 

This is what the "s4 adapter" command does. It's also very easy to do that from 
an IDE. 

(and by the way, I should add that to the wiki!)


Are you suggesting another way, maybe better? Are you looking for a simple 
command to run an app without the deployment step?

                
> Local Mode for testing
> ----------------------
>
>                 Key: S4-93
>                 URL: https://issues.apache.org/jira/browse/S4-93
>             Project: Apache S4
>          Issue Type: Wish
>    Affects Versions: 0.6
>            Reporter: Aimee Cheng
>
> Providing Local mode can be useful for app testing. In local mode, We can 
> start a testing zookeeper server and use threads to simulate nodes process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to