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

Matthieu Morel commented on S4-60:
----------------------------------

I uploaded a modification in branch S4-60 that allows to specify clusters 
configuration inline when starting a Zookeeper instance. You would do something 
like:
{code}s4 zkServer 
-clusters={c=cluster1:flp=13000:nbTasks=1},{c=cluster2:flp=14000:nbTasks=10} 
{code}
And there is also a test mode with by default 2 clusters named "testCluster1" 
and "testCluster2" with 1 task each, that you may start like this:
{code}s4 zkServer -t{code}

Please let me know if you have other suggestions/improvements, otherwise I'll 
integrate that into the main branch.

Commit diff is : 
https://git-wip-us.apache.org/repos/asf?p=incubator-s4.git;a=commitdiff;h=e438fbff

                
> Development mode for rapid application development and testing
> --------------------------------------------------------------
>
>                 Key: S4-60
>                 URL: https://issues.apache.org/jira/browse/S4-60
>             Project: Apache S4
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Matthieu Morel
>             Fix For: 0.5
>
>
> During the development phase of S4 applications, we need to be able to avoid 
> the "build-package-deploy" cycle, which rapidly becomes cumbersome.
> Ideally, we'd be able to start S4 nodes and directly run the application from 
> the classpath.
> This should be possible by providing a "DevelopmentDeploymentManager", that 
> simply reads an application classname as a parameter, and directly loads this 
> class and therefore the application. The only requirement is to have 
> application classes and dependencies in the classpath.

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