You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "bhuvnesh chaudhary (JIRA)" <ji...@apache.org> on 2016/01/05 18:43:39 UTC
[jira] [Updated] (AMBARI-14540) Fix single node installation issues
for HAWQ
[ https://issues.apache.org/jira/browse/AMBARI-14540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bhuvnesh chaudhary updated AMBARI-14540:
----------------------------------------
Description:
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}
was:
Single node installation fails, below is the list of issues fixed.
1. List index error - Due to which Next option is disabled on UI while chosing master services
2. List Index error - Consistency checks fails
{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}
> 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
>
> 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)