You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sandor Magyari (JIRA)" <ji...@apache.org> on 2016/06/28 10:17:57 UTC

[jira] [Commented] (AMBARI-17449) When querying host role command entities, the number of parameters should be limited

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

Sandor Magyari commented on AMBARI-17449:
-----------------------------------------

Committed to trunk, branch-2.4, AMBARI-2.2.1.12.

> When querying host role command entities, the number of parameters should be limited
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17449
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17449
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Daniel Gergely
>            Assignee: Daniel Gergely
>             Fix For: 2.4.0, 2.2-next, 2.5.0
>
>         Attachments: AMBARI-17449.patch, AMBARI-17449_2.2-next.patch
>
>
> In the case of a larger cluster, the number of host role commands can be high (magnitude of thousands). Database servers usually have a limit on the number of parameters, so reaching this limit causes a failure.
> Paging should be introduced to have only a smaller number of parameters in a single query and do multiple queries to obtain the final result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)