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

Hudson commented on AMBARI-15935:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4671 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4671/])
AMBARI-15935. StackAdvisorException - UnboundLocalError: local variable 
(smohanty: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=36e3138662489d20df3c8529644b6be687e5ee34])
* ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py


> StackAdvisorException - UnboundLocalError: local variable 'putTezProperty'
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-15935
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15935
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15935.patch
>
>
> Caused by: 
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorException: 
> Stack Advisor reported an error: UnboundLocalError: local variable 
> 'putTezProperty' referenced before assignment
> StdOut file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.out
> Here is the code ...
> {code}
>     if "hive-site" in services["configurations"] and 
> "hive.tez.container.size" in 
> services["configurations"]["hive-site"]["properties"]:
>       putTezProperty("tez.task.resource.memory.mb", 
> services["configurations"]["hive-site"]["properties"]["hive.tez.container.size"])
>     putTezProperty = self.putProperty(configurations, "tez-site")
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to