You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/11/02 18:36:25 UTC

[jira] Created: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Allow Whirr to use Pallet for configuration management
------------------------------------------------------

                 Key: WHIRR-125
                 URL: https://issues.apache.org/jira/browse/WHIRR-125
             Project: Whirr
          Issue Type: New Feature
          Components: core
            Reporter: Tom White


Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927589#action_12927589 ] 

Tom White commented on WHIRR-125:
---------------------------------

Certainly a possibility, although users would have to download the Pallet jar themselves. I just thought using a bundled binary jar would make it easier. I'll play around a bit to see what's possible.

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Hugo Duncan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927598#action_12927598 ] 

Hugo Duncan commented on WHIRR-125:
-----------------------------------

It would be possible to add a variant jar with aot'd files. If that is usefuI, could you raise an issue on http://github.com/hugoduncan/pallet/issues

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927628#action_12927628 ] 

Tom White commented on WHIRR-125:
---------------------------------

Thanks Hugo - I created http://github.com/hugoduncan/pallet/issues/issue/30.

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927554#action_12927554 ] 

Tom White commented on WHIRR-125:
---------------------------------

Hugo, we certainly need to do AOT compilation of Pallet itself so that it can be included in Whirr as a binary. Does Pallet release binary jars?

How we call Pallet from Java is another question. I was thinking that we could write some Clojure and compile that too - I didn't know about clojure.lang.RT/var (I'm new to Clojure), so thanks for pointing it out! That's probably the most flexible approach at the moment.

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Updated: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-125:
----------------------------

    Attachment: WHIRR-125.patch

Here's a preliminary patch which provides a PalletService. Any comments on the approach are welcome.

I've written a test for a ZooKeeper cluster brought up by Pallet, but it's not passing yet.

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>         Attachments: WHIRR-125.patch
>
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927506#action_12927506 ] 

Tom White commented on WHIRR-125:
---------------------------------

Pallet is a [EPL 1.0|http://www.eclipse.org/legal/epl-v10.html] licensed Clojure library. We need to observe the following to use it:
* EPL is a [Category B|http://www.apache.org/legal/resolved.html#category-b] license in Apache terminology, so only Pallet binaries (not source) may be included.
* One way to call Clojure from Java uses ahead-of-time (AOT) compilation (http://clojure.org/compilation). We could write some wrappers in Clojure to expose the parts of Pallet needed to write a Whirr PalletService.

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Hugo Duncan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927580#action_12927580 ] 

Hugo Duncan commented on WHIRR-125:
-----------------------------------

Binary jars are a bit of an anomaly in the clojure world. Is using the source jars as an optional dependency a possibility?

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Assigned: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White reassigned WHIRR-125:
-------------------------------

    Assignee: Tom White

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-125.patch
>
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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


[jira] Commented: (WHIRR-125) Allow Whirr to use Pallet for configuration management

Posted by "Hugo Duncan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927546#action_12927546 ] 

Hugo Duncan commented on WHIRR-125:
-----------------------------------

AOT compilation is not a fundamental requirement for calling clojure code.  At the top level, there are only two or three functions that need to be called, which can be done using clojure.lang.RT/var.

Or is the AOT related to the license comments?

> Allow Whirr to use Pallet for configuration management
> ------------------------------------------------------
>
>                 Key: WHIRR-125
>                 URL: https://issues.apache.org/jira/browse/WHIRR-125
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>
> Pallet (http://github.com/hugoduncan/pallet) is a library for provisioning and configuring cloud instances. It would be useful to provide it as an option for configuring clusters. In particular, it provides a mechanism for deploying multiple services on a cluster (see WHIRR-117).  

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