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 15:33:07 UTC

[jira] [Created] (WHIRR-648) CDH repo install removes other repos with same prefix

Graham Gear created WHIRR-648:
---------------------------------

             Summary: CDH repo install removes other repos with same prefix
                 Key: WHIRR-648
                 URL: https://issues.apache.org/jira/browse/WHIRR-648
             Project: Whirr
          Issue Type: Bug
    Affects Versions: 0.7.1
            Reporter: Graham Gear
            Priority: Minor


The current CDH install scripts all include the following command

{code}
rm -f /etc/yum.repos.d/cloudera*.repo
{code}

This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).

It is suggested we drop the rm statement and only clobber the specific repo being installed.

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

[jira] [Updated] (WHIRR-648) CDH repo install removes other repos with same prefix

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

Graham Gear updated WHIRR-648:
------------------------------

    Description: 
The current CDH install scripts all include the following command


{code}
rm -f /etc/yum.repos.d/cloudera*.repo
{code}

This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).

It is suggested we drop the rm statement and only clobber the specific repo being installed.

  was:
The current CDH install scripts all include the following command

{code}
rm -f /etc/yum.repos.d/cloudera*.repo
{code}

This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).

It is suggested we drop the rm statement and only clobber the specific repo being installed.

    
> CDH repo install removes other repos with same prefix
> -----------------------------------------------------
>
>                 Key: WHIRR-648
>                 URL: https://issues.apache.org/jira/browse/WHIRR-648
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Graham Gear
>            Priority: Minor
>
> The current CDH install scripts all include the following command
> {code}
> rm -f /etc/yum.repos.d/cloudera*.repo
> {code}
> This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).
> It is suggested we drop the rm statement and only clobber the specific repo being installed.

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

[jira] [Resolved] (WHIRR-648) CDH repo install removes other repos with same prefix

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

Tom White resolved WHIRR-648.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.1
         Assignee: Graham Gear

I just committed this. Thanks Graham!
                
> CDH repo install removes other repos with same prefix
> -----------------------------------------------------
>
>                 Key: WHIRR-648
>                 URL: https://issues.apache.org/jira/browse/WHIRR-648
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Graham Gear
>            Assignee: Graham Gear
>            Priority: Minor
>             Fix For: 0.8.1
>
>         Attachments: WHIRR-648.patch
>
>
> The current CDH install scripts all include the following command
> {code}
> rm -f /etc/yum.repos.d/cloudera*.repo
> {code}
> This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).
> It is suggested we drop the rm statement and only clobber the specific repo being installed.

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

[jira] [Updated] (WHIRR-648) CDH repo install removes other repos with same prefix

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

Graham Gear updated WHIRR-648:
------------------------------

    Attachment: WHIRR-648.patch

Suggested implementation, removes the rm statement and relies on the redirect to clobber pre-existing repo definitions.
                
> CDH repo install removes other repos with same prefix
> -----------------------------------------------------
>
>                 Key: WHIRR-648
>                 URL: https://issues.apache.org/jira/browse/WHIRR-648
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Graham Gear
>            Priority: Minor
>         Attachments: WHIRR-648.patch
>
>
> The current CDH install scripts all include the following command
> {code}
> rm -f /etc/yum.repos.d/cloudera*.repo
> {code}
> This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).
> It is suggested we drop the rm statement and only clobber the specific repo being installed.

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

[jira] [Commented] (WHIRR-648) CDH repo install removes other repos with same prefix

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

Tom White commented on WHIRR-648:
---------------------------------

+1 looks good.
                
> CDH repo install removes other repos with same prefix
> -----------------------------------------------------
>
>                 Key: WHIRR-648
>                 URL: https://issues.apache.org/jira/browse/WHIRR-648
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Graham Gear
>            Priority: Minor
>         Attachments: WHIRR-648.patch
>
>
> The current CDH install scripts all include the following command
> {code}
> rm -f /etc/yum.repos.d/cloudera*.repo
> {code}
> This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).
> It is suggested we drop the rm statement and only clobber the specific repo being installed.

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