incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-93) Local Mode for testing
Date Tue, 21 Aug 2012 14:21:38 GMT

    [ 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

        

Mime
View raw message