You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "David Alves (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/14 06:14:59 UTC

[jira] [Issue Comment Edited] (WHIRR-294) Separate Hadoop install and configuration scripts into more generic functions

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

David Alves edited comment on WHIRR-294 at 2/14/12 5:13 AM:
------------------------------------------------------------

bq. This looks good to me. Do we need to define dependencies as NN <- DN <- JT <- TT, when it's possible to start them in any order in the case of Hadoop, at least? Does doing this slow things down?

Dependencies will help by failing fast when the user forgets to add some required dependency to the instance template (e.g starting a cluster without a datanode), besides since hadoop start scripts are fire and forget and no "online delay" will be set the additional time required is minimal. What would happen tipically is that NN and TT are started together (only one node) and then DN and JT are started at the same time and in parallel in the cluster.
                
      was (Author: dr-alves):
    bq. This looks good to me. Do we need to define dependencies as NN <- DN <- JT <- TT, when it's possible to start them in any order in the case of Hadoop, at least? Does doing this slow things down?

Dependencies will help by failing fast when the user forgets to add some required dependency to the instance template (e.g starting a cluster without a datanode), besides since hadoop start scripts are fire and forget and no "online delay" will be set the additional time required is minimal. What would happen tipically is that NN and JT are started together (only one node) and then DN and JT are started at the same time and in parallel in the cluster.
                  
> Separate Hadoop install and configuration scripts into more generic functions 
> ------------------------------------------------------------------------------
>
>                 Key: WHIRR-294
>                 URL: https://issues.apache.org/jira/browse/WHIRR-294
>             Project: Whirr
>          Issue Type: Sub-task
>          Components: service/hadoop
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch, WHIRR-294.patch
>
>
> Separate Hadoop install and configuration scripts into more generic functions.
> We should have something like: 
> {start,stop,install,configure,cleanup}_hadoop
> Naming consistency would be helpful.

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