[
https://issues.apache.org/jira/browse/AMBARI-11146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544921#comment-14544921
]
Hadoop QA commented on AMBARI-11146:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12733016/AMBARI-11146.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in
ambari-server:
org.apache.ambari.server.orm.dao.AlertDispatchDAOTest
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/2737//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/2737//console
This message is automatically generated.
> Upgrade Is Allowed When A Service Is Installed After Distribute Repositories
> ----------------------------------------------------------------------------
>
> Key: AMBARI-11146
> URL: https://issues.apache.org/jira/browse/AMBARI-11146
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Fix For: 2.1.0
>
> Attachments: AMBARI-11146.patch
>
>
> The web client allows an upgrade to begin despite the fact that a service was
> added after distributing repositories. This is incorrect since the packages
> for the newly added service have not been installed since the distribute
> action was done before the service was added.
> STR:
> # Install base services like HDFS and YARN
> # Distribute new repository
> # Install HBase
> # Attempt upgrade
> At this point two things should happen:
> # The web client should not allow the upgrade to happen
> # The pre-upgrade check {{HostsRepositoryVersionCheck}} should prevent the
> upgrade.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)