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

Stop Spark fails due to missing stack selector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.2
    • 2.5.2
    • ambari-server
    • None

    Description

      BigInsights 4.2 stack has hard-coded call to iop-select in Spark and HBase scripts. This causes failure stopping services during cross stack-name upgrade, when iop-select is already removed.

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/SPARK/package/scripts/job_history_server.py", line 167, in <module>
          JobHistoryServer().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/SPARK/package/scripts/job_history_server.py", line 55, in stop
          import params
        File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/SPARK/package/scripts/params.py", line 42, in <module>
          iop_full_version = get_iop_version()
        File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/SPARK/package/scripts/spark.py", line 345, in get_iop_version
          'Unable to determine the current version because of a non-zero return code of {0}'.format(str(return_code)))
      resource_management.core.exceptions.Fail: Unable to determine the current version because of a non-zero return code of 127
      

      Attachments

        1. AMBARI-21469.patch
          2 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: