ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14107) Stack advisor error for validateAmsHbaseEnvConfigurations
Date Sun, 29 Nov 2015 20:07:10 GMT

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

Hudson commented on AMBARI-14107:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3930 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3930/])
AMBARI-14107. Stack advisor error for validateAmsHbaseEnvConfigurations (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d8a42253fdbad9c8d11ecbee4d267d67f4b28928])
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py


> Stack advisor error for validateAmsHbaseEnvConfigurations
> ---------------------------------------------------------
>
>                 Key: AMBARI-14107
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14107
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.1.3
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-14107.patch
>
>
> PROBLEM
> {code}
> Error occured in stack advisor.
> Error details: local variable 'heapPropertyToIncreaseItem' referenced before assignment
> 24 Nov 2015 23:20:41,541  INFO [qtp-client-29] StackAdvisorRunner:71 -     advisor script
stderr: Traceback (most recent call last):
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
>     main(sys.argv)
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 115, in main
>     result = stackAdvisor.validateConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 463,
in validateConfigurations
>     validationItems = self.getConfigurationsValidationItems(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 749, in getConfigurationsValidationItems
>     resultItems = method(siteProperties, siteRecommendations, configurations, services,
hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 1025, in validateAmsHbaseEnvConfigurations
>     if to_number(properties[heapPropertyToIncreaseItem]) < recommended_hbase_heapsize:
> UnboundLocalError: local variable 'heapPropertyToIncreaseItem' referenced before assignment
> {code}
> BUG
> Incorrect indentation and bug in stack_advisor code.
> FIX
> Fixed the issues with stack advisor recommendations for ams-hbase-env and cleaned up
the code.



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

Mime
View raw message