You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2015/05/17 03:58:00 UTC

[jira] [Updated] (AMBARI-11194) UI calls to /validations fails due to empty host-to-component mappings on large clusters

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

Srimanth Gunturi updated AMBARI-11194:
--------------------------------------
    Summary: UI calls to /validations fails due to empty host-to-component mappings on large clusters  (was: UI calls to /validations endpoint provides empty host-to-component mappings on large clusters)

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