whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Buck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WHIRR-746) Seperate Starting Nodes and bootstrapping from BootstrapCluster in java API
Date Wed, 11 Sep 2013 13:30:51 GMT

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

Werner Buck commented on WHIRR-746:
-----------------------------------

Hi!
Well, I'm looking at the code right now. But can not for the life of me find where BootstrapAction
does SSH and execute scripts?
NodeStarter already only starts nodes and that's good. I can't imagine that separating calling
scripts on nodes and starting nodes would result in a lot of code change.

Where does the bootstrapaction call the scripts? 
                
> Seperate Starting Nodes and bootstrapping from BootstrapCluster in java API
> ---------------------------------------------------------------------------
>
>                 Key: WHIRR-746
>                 URL: https://issues.apache.org/jira/browse/WHIRR-746
>             Project: Whirr
>          Issue Type: Wish
>            Reporter: Werner Buck
>            Priority: Minor
>
> Instead of one function BootstrapCluster that both installs packages and starts nodes
I would like it separated to offer a more easy to use API and to increase reporting.
> I would like this separation because errors happening in the starting nodes-phase can
then be handled different than errors happening in bootstrap-phase.
> This can also reduce the amount of failures that can happen in the BootstrapCluster phase
further simplifying the code and making debugging easier during node starting fails.
> So the API calls would be:
> 1. Start nodes
> 2. Bootstrap Cluster
> 3. Configure Cluster
> 4. Start Cluster
> it would be sufficient just to add StartNodesCluster to ClusterDeployer and move the
starting-nodes logic from BootstrapClusterAction to StartNodesClusterAction.
> What do you think?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message