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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14547192#comment-14547192 ] 

Hudson commented on AMBARI-11194:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2625 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2625/])
AMBARI-11194. UI calls to /validations fails due to empty host-to-component mappings on large clusters. (srimanth via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=45f0cd3f870a41dea9a185d85c577bb71aa918f6)
* ambari-web/app/mixins/common/serverValidator.js
* ambari-web/app/utils/ajax/ajax.js


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