[
https://issues.apache.org/jira/browse/AMBARI-16905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302586#comment-15302586
]
Ajay Sachdev commented on AMBARI-16905:
---------------------------------------
This is the error seen in ECS HDP 2.3 stack.
23 May 2016 14:28:32,591 INFO [Server Action Executor Worker 260]
StackAdvisorRunner:70 - advisor script stdout: 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
StackAdvisor implementation for stack HDP, version 2.3 was loaded
StackAdvisor implementation for stack HDP, version 2.3.ECS was loaded
Returning default implementation
23 May 2016 14:28:32,591 INFO [Server Action Executor Worker 260]
StackAdvisorRunner:71 - advisor script stderr: Traceback (most recent call
last):
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 147,
in instantiateStackAdvisor
clazz = getattr(stack_advisor, className)
AttributeError: 'module' object has no attribute 'HDP23ECSStackAdvisor'
> Tone down error message/exception when stack-advisor not present for a
> stack-version
> ------------------------------------------------------------------------------------
>
> Key: AMBARI-16905
> URL: https://issues.apache.org/jira/browse/AMBARI-16905
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Srimanth Gunturi
> Fix For: 2.4.1
>
>
> When using a stack-version which does not have a stack-advisor, exceptions
> are output to log that a stack-advisor.py file is not present. Since
> stack-advisor functionality is optional for a stack-version, we should print
> out message saying "StackAdvisor implementation for stack HDP, version
> 2.3.ECS was not found" instead of throwing exceptions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)