Sumit Mohanty created AMBARI-12444:
--------------------------------------
Summary: Manual Stack Upgrade 2.2 -> 2.3: Storm service check
through Ambari UI fails after upgrading
Key: AMBARI-12444
URL: https://issues.apache.org/jira/browse/AMBARI-12444
Project: Ambari
Issue Type: Bug
Components: stacks
Affects Versions: 2.1.0
Reporter: Sumit Mohanty
Assignee: Sumit Mohanty
Priority: Critical
Fix For: 2.1.1
The storm service check under service actions for storm in Ambari UI fails.
One thing to note here is that service check throws an exception trying to kill
a topology but i did not see anywhere in the logs that it tried to submit a
topology in first place.
{noformat}
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service_check.py",
line 79, in <module>
ServiceCheck().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service_check.py",
line 75, in service_check
user=params.storm_user
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 157, in __init__
self.env.run()
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 152, in run
self.run_action(resource, action)
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 118, in run_action
provider_action()
File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 258, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'storm kill
WordCountidf00a2020_date361615' returned 1
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)