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

Oleksandr Diachenko commented on AMBARI-14540:
----------------------------------------------

Committed to trunk:

commit 0c049aa710036c23bbef62e0f509635865b50718
Author: Oleksandr Diachenko <odiache...@pivotal.io>
Date:   Fri Jan 8 19:16:43 2016 -0800

    AMBARI-14540. Fix single node installation issues for HAWQ(bhuvnesh 
chaudhary via odiachenko


> 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, 2.2.1
>
>         Attachments: AMBARI-14540-3.patch, AMBARI-14540-branch-2.2.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)

Reply via email to