You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/11/03 16:06:27 UTC
[jira] [Created] (AMBARI-13697) local variable 'out' referenced
before assignment
Andrew Onischuk created AMBARI-13697:
----------------------------------------
Summary: local variable 'out' referenced before assignment
Key: AMBARI-13697
URL: https://issues.apache.org/jira/browse/AMBARI-13697
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.1.3
stderr:
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-
START/scripts/hook.py", line 38, in <module>
BeforeConfigureHook().execute()
File "/usr/lib/python2.6/site-
packages/resource_management/libraries/script/script.py", line 95, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-
START/scripts/hook.py", line 33, in hook
setup_hadoop()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-
START/scripts/shared_initialization.py", line 76, in setup_hadoop
action = "restart")
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-
packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-
packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-
packages/resource_management/core/providers/service.py", line 42, in
action_restart
self._exec_cmd("start", 0)
File "/usr/lib/python2.6/site-
packages/resource_management/core/providers/service.py", line 74, in _exec_cmd
self, command, self.resource.service_name, ret, out))
UnboundLocalError: local variable 'out' referenced before assignment
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)