[ https://issues.apache.org/jira/browse/AMBARI-11498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563711#comment-14563711 ]
Hudson commented on AMBARI-11498: --------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #2739 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2739/]) AMBARI-11498 Perf: Skip calling hostVersionDAO by HostComponentResourceProvider if host_version isn't requested (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=98586c0ceccb94092b0f3698361ec3ac7b099eb4) * ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostComponentResourceProviderTest.java * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java * ambari-server/src/main/resources/META-INF/persistence.xml > Perf: Skip calling hostVersionDAO by HostComponentResourceProvider if > host_version isn't requested > -------------------------------------------------------------------------------------------------- > > Key: AMBARI-11498 > URL: https://issues.apache.org/jira/browse/AMBARI-11498 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Critical > Fix For: 2.1.0 > > Attachments: AMBARI-11498.patch > > > 20% of server resources are spent for execution > hostVersionDAO.findByHostAndStateCurrent() , added check if host version > requested, if no - no need to execute DB query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)