[ https://issues.apache.org/jira/browse/AMBARI-17252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-17252: ------------------------------------- Attachment: AMBARI-17252.patch > Supervisor start failed after Ambari upgrade (intermittent) > ----------------------------------------------------------- > > Key: AMBARI-17252 > URL: https://issues.apache.org/jira/browse/AMBARI-17252 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.4.0 > > Attachments: AMBARI-17252.patch, AMBARI-17252.patch > > > ambari-server --hash > 6cd42e12348dbf0166428bc8b701586bb2c7b0bb > Build # - 2.4.0.0-653 > **Steps** > 1. Deploy HDP-2.4.2.0 cluster with Ambari 2.2.2.0 > 2. Upgrade Ambari to 2.4.0.0 > 3. Stop all services > 4. Start all services > Observed below error for Supervisor start > > > > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor.py", > line 112, in <module> > Supervisor().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 257, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor.py", > line 88, in start > service("supervisor", action="start") > File > "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/service.py", > line 75, in service > path = params.storm_bin_dir) > File > "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line > 155, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 160, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 124, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 273, 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 > 293, in _call > raise Fail(err_msg) > resource_management.core.exceptions.Fail: Execution of > '/usr/jdk64/jdk1.8.0_77/bin/jps -l | grep storm.daemon.supervisor$ && > /usr/jdk64/jdk1.8.0_77/bin/jps -l | grep storm.daemon.supervisor$ | awk > {'print $1'} > /var/run/storm/supervisor.pid' returned 1. ######## > Hortonworks ############# > This is MOTD message, added for testing in qe infra > > Note: Afterwards tried to manually start Storm and Supervisor came up fine > Logs attached -- This message was sent by Atlassian JIRA (v6.3.4#6332)