[ 
https://issues.apache.org/jira/browse/AMBARI-13697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987654#comment-14987654
 ] 

Hudson commented on AMBARI-13697:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3763 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/3763/])
AMBARI-13697. local variable 'out' referenced before assignment (aonishuk: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d501a38a144a037f282e53861deb942ea649d88e])
* ambari-common/src/main/python/resource_management/core/providers/service.py


> 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)

Reply via email to