You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Graham Gear (JIRA)" <ji...@apache.org> on 2012/09/05 22:39:07 UTC

[jira] [Commented] (WHIRR-649) Make install_cdh_hadoop.sh idempotent, fast failing if already run

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

Graham Gear commented on WHIRR-649:
-----------------------------------

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