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

[jira] [Commented] (AMBARI-18976) Config History request execution time depends on config versions count

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

Hudson commented on AMBARI-18976:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6091 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6091/])
AMBARI-18976. Config History request execution time depends on config (mpapyrkovskyy: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=abf9882276d2ed73cd5dcf12a088d16492c9490d])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterConfigMappingEntity.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterControllerImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterDAO.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceConfigDAO.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceConfigVersionResourceProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterConfigEntity.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/logging/LoggingSearchPropertyProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceConfigEntity.java


> Config History request execution time depends on config versions count
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-18976
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18976
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Myroslav Papirkovskyi
>            Assignee: Myroslav Papirkovskyi
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18976.patch
>
>
> Request: {{/api/v1/clusters/tdk/configurations/service_config_versions?fields=group_id,user&minimal_response=true&from=0&page_size=10}} 
> Response always contains 10 records or less (if there are less than 10 service configs versions). Each record has only two fields ({{group_id}}, {{user}}).
> Request execution time depends on overall count of service config versions in the DB.
> Example:
> || Items Total in the DB || Response Time ||
> |2		|~140 ms|
> |100		|900+ ms|
> |290		|3+ s|
> |750		|9+ s|
> |1000		|15+ s|
> |3000		|30+ s|



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