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

Graham Gear edited comment on WHIRR-649 at 9/6/12 7:37 AM:
-----------------------------------------------------------

Actually, I can see now from the code that the install pipeline is protected 
from running a script multiple times so this is not an issue.

This does however optimise install_cdh* scripts that require base CDH 
installations (eg HBase/YARN etc), once updated to also check 
INSTALL_HADOOP_DONE, so is still a worthwhile patch.

                
      was (Author: graham.gear):
    Actually, I can see now from the code that the install pipeline is 
protected from running a script multiple times so this is not an issue.

This does however optimise install_cdh* scripts that require base CDH 
installations (eg HBase/YARN etc) so is still a worthwhile patch, once updated 
to also check INSTALL_HADOOP_DONE.


                  
> Make install_cdh_hadoop.sh idempotent, fast failing if already run
> ------------------------------------------------------------------
>
>                 Key: WHIRR-649
>                 URL: https://issues.apache.org/jira/browse/WHIRR-649
>             Project: Whirr
>          Issue Type: Improvement
>    Affects Versions: 0.7.1
>            Reporter: Graham Gear
>         Attachments: WHIRR-649.patch
>
>
> Currently, install_cdh_hadoop.sh does not check it has already run and 
> return, unlike install_hadoop.sh.
> This is inefficient for services that would like to install CDH components 
> which have often already been installed (eg Cloudera Manager).

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

Reply via email to