ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-11194) UI calls to /validations fails due to empty host-to-component mappings on large clusters
Date Sun, 17 May 2015 13:06:59 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-11194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yusaku Sako updated AMBARI-11194:
---------------------------------
    Fix Version/s: 2.1.0

> UI calls to /validations fails due to empty host-to-component mappings on large clusters
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11194
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11194
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.1
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>            Priority: Blocker
>             Fix For: 2.1.0, 2.0.1
>
>         Attachments: AMBARI-11194.patch
>
>
> Setup a large cluster (>100 hosts) using Ambari-2.0.1 and after install go to HDFS
service and change a config and save. The below exception will be hit during configs validation
phase
> {noformat}
> Stack_advisor.out:
> StackAdvisor implementation for stack HDP, version 2.0.6 was loaded
> StackAdvisor implementation for stack HDP, version 2.1 was loaded
> StackAdvisor implementation for stack HDP, version 2.2 was loaded
> Returning HDP22StackAdvisor implementation
> Error occured in stack advisor.
> Error details: u'c6401.ambari.apache.org'
> stack_advisor.err:
> Traceback (most recent call last):
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 146, in <module>
>     main(sys.argv)
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 105, in main
>     result = stackAdvisor.validateConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 445,
in validateConfigurations
>     validationItems = self.getConfigurationsValidationItems(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 275, in getConfigurationsValidationItems
>     clusterWideItems = self.validateClusterConfigurations(configurations, services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 294, in validateClusterConfigurations
>     requiredMemory = getMemorySizeRequired(hostComponents[host["Hosts"]["host_name"]],
configurations)
> KeyError: u'c6401.ambari.apache.org'
> {noformat}
> Configs will not be saved.



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

Mime
View raw message