[
https://issues.apache.org/jira/browse/AMBARI-10515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500304#comment-14500304
]
Dmytro Sen commented on AMBARI-10515:
-------------------------------------
The patch looks good.
[~sam liu], could you add some unit tests for returning 1 and multiple hosts?
> Method stack_advisor.py#getHostsWithComponent returns wrong results
> -------------------------------------------------------------------
>
> Key: AMBARI-10515
> URL: https://issues.apache.org/jira/browse/AMBARI-10515
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: sam liu
> Attachments: AMBARI-10515.patch
>
>
> ambari-server/resources/stacks/HDP/2.0.6/services/stack_advisor.py#getHostsWithComponent
> only return the first one item back, but the correct way is to return all
> the items back
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)