[
https://issues.apache.org/jira/browse/AMBARI-20847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983283#comment-15983283
]
Hadoop QA commented on AMBARI-20847:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12864976/AMBARI-20847.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in
ambari-server:
org.apache.ambari.server.state.UpgradeHelperTest
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/11484//console
This message is automatically generated.
> Remove Refresh Query Hint From Upgrade DAO
> ------------------------------------------
>
> Key: AMBARI-20847
> URL: https://issues.apache.org/jira/browse/AMBARI-20847
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.5.1
>
> Attachments: AMBARI-20847.patch
>
>
> Repeated requests to the {{org.apache.ambari.server.orm.dao.UpgradeDAO}}
> methods during upgrades can cause large delays retrieving active upgrades.
> This is because the {{QueryHint.REFRESH}} is being used in almost every
> method. This causes a re-read on every {{UpgradeEntity -> UpgradeGroupEntity
> -> UpgradeItemEntity}} in the entire database for every query.
> These query hints should be removed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)