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

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

ABORTED: Integrated in Jenkins build Ambari-branch-2.5 #394 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/394/])
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=ce4d4fa768375aac631703dbfceac44fd8faa151])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
Revert "AMBARI-18976. Config History request execution time depends on 
(mpapyrkovskyy: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=568d1e656b1f1c651e594a54f3b3744f62984653])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
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=911b917783d66a44958e791e49d76b755d943f85])
* (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/dao/ServiceConfigDAO.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/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/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/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)

Reply via email to