Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18435

Provide script to delete an old HDP stack version

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      We need a script or hacky solution internally for base-cluster to be able to delete old HDP stacks.

      This does not need to be a full-blown feature with tons of bells and whistles and UI support.
      Instead, it needs to be a simple script that can be ran on all hosts.

      Ideally, it would accept the version of the stack to remove, and perhaps can go into contrib.
      If we want to make it slightly better, than we can figure out how to actually make it a custom command to remove older versions (value is less than the CURRENT version).
      If done this way, we can add checks to make it more robust, bubble up errors to the UI task output, etc.

      Attachments

        1. AMBARI-18435.patch
          7 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: