----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49265/ -----------------------------------------------------------
Review request for Ambari, Laszlo Puskas, Oliver Szabo, Sandor Magyari, Sumit Mohanty, and Sebastian Toader. Bugs: AMBARI-17449 https://issues.apache.org/jira/browse/AMBARI-17449 Repository: ambari Description ------- 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. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java 2eb0734 ambari-server/src/main/java/org/apache/ambari/server/orm/dao/DaoUtils.java 7f157ec ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAO.java 1768f21 Diff: https://reviews.apache.org/r/49265/diff/ Testing ------- Running locally... Thanks, Daniel Gergely