[
https://issues.apache.org/jira/browse/AMBARI-17449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352890#comment-15352890
]
Hudson commented on AMBARI-17449:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #5171 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5171/])
AMBARI-17449. When querying host role command entities, the number of
(smagyari:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ff060c54d4c77c990d90acce715461997b367bf9])
*
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAO.java
*
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/DaoUtils.java
> 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)