You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/07/13 21:44:00 UTC
[jira] [Commented] (AMBARI-21469) Stop Spark fails due to missing
stack selector
[ https://issues.apache.org/jira/browse/AMBARI-21469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086452#comment-16086452 ]
Hudson commented on AMBARI-21469:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1682 (See [https://builds.apache.org/job/Ambari-branch-2.5/1682/])
AMBARI-21469. Stop Spark fails due to missing stack selector (adoroszlai: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7dbcb7542e0d6d58fe11b6549e3c2c07574258a6])
* (edit) ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/BigInsights/4.2/services/SPARK/package/scripts/params.py
> Stop Spark fails due to missing stack selector
> ----------------------------------------------
>
> Key: AMBARI-21469
> URL: https://issues.apache.org/jira/browse/AMBARI-21469
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.2
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Blocker
> Fix For: 2.5.2
>
> Attachments: AMBARI-21469.patch
>
>
> 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.
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)