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

Failure while starting Spark2 service after performing ambari upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.2
    • 2.6.2
    • ambari-server
    • ambari-server --version 2.6.2.0-82
      HDP-2.6.1.0-129

    Description

      Test steps :
      1) Deploy a cluster with ambari-2.5.1.0-159 + HDP-2.6.1.0-129
      2) Upgrade ambari to 2.6.2.0-82
      3) Now try to restart all the services. The operation is failing with below exception while trying to start Spark2

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
          AfterInstallHook().execute()
        File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 31, in hook
          setup_stack_symlinks(self.stroutfile)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 49, in setup_stack_symlinks
          stack_packages = stack_select.get_packages(stack_select.PACKAGE_SCOPE_INSTALL)
        File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 235, in get_packages
          raise Fail("The package {0} is not supported by this version of the stack-select tool.".format(package))
      resource_management.core.exceptions.Fail: The package livy2-client is not supported by this version of the stack-select tool.

      livy2-client package was added in HDP 2.6.3 and was not present before that.

      Attachments

        Activity

          People

            dmitriusan Dmitry Lysnichenko
            ssharma@hortonworks.com Supreeth Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m