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

Upgrade Ambari from 1.7 to Ambari 2.0. I'm on HDP 2.2.0.0, but the version is not showing up in the Stacks and Versions page.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • ambari-agent, ambari-server
    • None

    Description

      I've upgraded from Ambari 1.7 to 2.0 on my own cluster and I'm seeing the same problem

      Under ‘stacks and versions’, versions gives no information.
      After going through a number of troubleshooting steps, such as refreshing browser cache, restarting services, datanodes, rebooting etc, I think we can come to the conclusion that this is a bug.

      The upgrade document mentions this, however the advised actions don’t work.
      If using HDP 2.2 Stack, you must get the cluster hosts to advertise the "current version". This can be done by restarting a master or slave component (such as a DataNode) on each host to have the host advertise it's version so Ambari can record the version. For example, in Ambari Web, navigate to the Hosts page and select any Host that has the DataNode component, then restart that DataNode component on that single host.​

      Actually, we should relax it even more, because some hosts may only have client components. So either,

      A. All hosts with at least one master/slave must have at least one component advertise the version.
      This means that hosts with only clients don't need to do anything; and if a host has say NameNode and DataNode, only one is needed, but all such hosts need to advertise a version.

      B. Take the version of the first host to advertise a value. So only one component on one host is needed. This is the simplest thing to do, but we better not have clusters with a mix of versions, say 2.2.0.0-1 and 2.2.0.0-2B. Take the version of the first host to advertise a value. So only one component on one host is needed. This is the simplest thing to do, but we better not have clusters with a mix of versions, say 2.2.0.0-1 and 2.2.0.0-2

      Attachments

        1. AMBARI-11728.patch
          41 kB
          Dmitry Lysnichenko
        2. AMBARI-11728.2.patch
          8 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: