Apache Whirr (retired)
  1. Apache Whirr (retired)
  2. WHIRR-648

CDH repo install removes other repos with same prefix

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.8.1
    • Component/s: None
    • Labels:
      None

      Description

      The current CDH install scripts all include the following command

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

      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.

        Activity

        Graham Gear created issue -
        Graham Gear made changes -
        Field Original Value New Value
        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.
        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.
        Graham Gear made changes -
        Attachment WHIRR-648.patch [ 12543853 ]
        Tom White made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Graham Gear [ graham.gear ]
        Fix Version/s 0.8.1 [ 12322955 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Graham Gear
            Reporter:
            Graham Gear
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development