You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Aleksandr Kovalenko (JIRA)" <ji...@apache.org> on 2014/01/13 13:35:51 UTC

[jira] [Commented] (AMBARI-4272) Use map in order to update host-components

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

Aleksandr Kovalenko commented on AMBARI-4272:
---------------------------------------------

+1 for the patch

> Use map in order to update host-components
> ------------------------------------------
>
>                 Key: AMBARI-4272
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4272
>             Project: Ambari
>          Issue Type: Task
>          Components: client
>    Affects Versions: 1.5.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4272.patch
>
>
> To update host-components, mapper loop all host-component records, we can save time spent on this loop by creating map and updating it directly.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)