whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Cole (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WHIRR-117) Composable services
Date Fri, 03 Dec 2010 19:39:13 GMT

    [ https://issues.apache.org/jira/browse/WHIRR-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966639#action_12966639

Adrian Cole commented on WHIRR-117:

I like the event-based system.  I'd probably go all the way and follow http://download.oracle.com/javaee/6/api/javax/servlet/ServletContextListener.html
We can also consider parallels to things like ServletFilters.  One cool thing about a filter
approach is that you can inspect the others in the chain.

We can start with typed interface and in the future move to annotations like @Phase("configure"),

For implementation, I'd suggest switching to a statementlist List<Statement>  this is
useful since we can type statements.  For example InstallJava and then we can check the list
to see if it is already there, etc.  Also, it decouples the means to perform the command (runurl).

Good stuff.  it is easier to comment seeing the code.

> Composable services
> -------------------
>                 Key: WHIRR-117
>                 URL: https://issues.apache.org/jira/browse/WHIRR-117
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.3.0
>         Attachments: WHIRR-117.patch, WHIRR-117.patch
> The current design does not support composable services, so you can't, for example, run
ZooKeeper on the same cluster as Hadoop (a better example would be running Flume agents on
a Hadoop cluster). We should make it easy to do this.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message