[ https://issues.apache.org/jira/browse/AMBARI-14540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083893#comment-15083893 ]
Oleksandr Diachenko commented on AMBARI-14540: ---------------------------------------------- +1 on the patch. > Fix single node installation issues for HAWQ > -------------------------------------------- > > Key: AMBARI-14540 > URL: https://issues.apache.org/jira/browse/AMBARI-14540 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: trunk > Reporter: bhuvnesh chaudhary > Assignee: bhuvnesh chaudhary > Fix For: trunk > > Attachments: AMBARI-14540.patch > > > Single node installation fails, below is the list of issues fixed. > 1. Stack advisor: List index error - Due to which Next option is disabled on > UI while chosing master services > 2. Stack advisor: List Index error - Consistency checks fails > 3. During Review page, StandbyHost should not be pushed on single node > clusters. > {code} > StackAdvisor implementation for stack PHD, version 3.3 was loaded > Returning PHD33StackAdvisor implementation > Error occured in stack advisor. > Error details: list index out of range > 31 Dec 2015 23:41:51,917 INFO [qtp-ambari-client-21] 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 106, > in main > result = stackAdvisor.validateComponentLayout(services, hosts) > File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", > line 458, in validateComponentLayout > validationItems = self.getComponentLayoutValidations(services, hosts) > File > "/var/lib/ambari-server/resources/scripts/./../stacks/PHD/3.3/services/stack_advisor.py", > line 63, in getComponentLayoutValidations > hawqStandbyHosts = [component["StackServiceComponents"]["hostnames"][0] > for component in componentsList if > component["StackServiceComponents"]["component_name"] == "HAWQSTANDBY"] > IndexError: list index out of range > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)