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

RegionServer Restart During Upgrade Fails Because of Missing Import When Formatting PID

    XMLWordPrintableJSON

Details

    Description

      Steps
      1. Install HDP-2.5.0.0 with Ambari-2.4.1.0
      2. Upgrade Ambari to 2.5.0.0
      3. Register HDP-2.6.0.0 and install the bits
      4. Start Express Upgrade

      Result:
      Observed error at 'Restart HBase Region Servers' task:
      Traceback (most recent call last):

        File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py", line 166, in <module>
          HbaseRegionServer().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 282, in execute
          method(env)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 728, in restart
          self.post_upgrade_restart(env, upgrade_type=upgrade_type)
        File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py", line 84, in post_upgrade_restart
          upgrade.post_regionserver(env)
        File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py", line 48, in post_regionserver
          is_regionserver_registered(exec_cmd, params.hbase_user, params.hostname, re.IGNORECASE)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py", line 55, in wrapper
          return function(*args, **kwargs)
        File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py", line 77, in is_regionserver_registered
          raise Fail("RegionServer process is not running")
      resource_management.core.exceptions.Fail: RegionServer process is not running
      

      Attachments

        1. AMBARI-19016.patch
          1 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: