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

Hudson commented on AMBARI-11146:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2616 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2616/])
AMBARI-11146. Upgrade Is Allowed When A Service Is Installed After Distribute 
Repositories (alejandro) (afernandez: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7e4f57b16493cf6df1ef68a1270bfcec8e9df48c)
* 
ambari-server/src/test/java/org/apache/ambari/server/utils/EventBusSynchronizer.java
* 
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListener.java
* 
ambari-server/src/test/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListenerTest.java


> 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)

Reply via email to