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

Incorrect symlink for storm after patch upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • None
    • None

    Description

      Steps to reproduce :
      1) Installed ambari 2.6.0.0 with HDP-2.6.2.0
      2) Did a patch upgrade from HDP-2.6.2.0 to 2.6.3.0 for services storm and zookeeper
      3) Upgrade completed successfully.

      But after the upgrade symlinks are not updated correctly.
      Symlink is updated correctly on 'ssharma-pu-m-2-1.openstacklocal' which has nimbus

      But on 'ssharma-pu-m-2-4.openstacklocal' with supervisor it still points to older version.

      lrwxrwxrwx. 1 root root 34 Sep 20 10:46 /etc/storm/conf -> /usr/hdp/current/storm-client/conf
      [root@ssharma-pu-m-2-4 ~]# ls -ltr /usr/hdp/current/storm-client/conf
      lrwxrwxrwx. 1 root root 24 Sep 20 10:46 /usr/hdp/current/storm-client/conf -> /etc/storm/2.6.2.0-205/0
      

      From the upgrade history logs, it could be seen that '/usr/bin/hdp-select', 'set', u'storm-client' is not being executed on 'ssharma-pu-m-2-4.openstacklocal'. But this is executed on 'ssharma-pu-m-2-1.openstacklocal' . Did this caused the issue ?

      2017-09-20 11:09:39,206 - Execute[('ambari-python-wrap', u'/usr/bin/hdp-select', 'set', u'storm-client', u'2.6.3.0-86')] {'sudo': True}
      2017-09-20 11:09:39,261 - After ('ambari-python-wrap', u'/usr/bin/hdp-select', 'set', u'storm-client', u'2.6.3.0-86'), reloaded module status_params
      

      I guess this is because we don't actually have "Storm Client" as a component. So, the masters and slaves have to take care of setting it. Easy fix to stack_packages...

      Attachments

        1. AMBARI-22010.patch
          1 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: