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

Di Li commented on AMBARI-21161:
--------------------------------

org.apache.ambari.server.state.UpgradeHelperTest test with my changes passed 
locally when I ran it. 

The following unit tests also failed without my changes
org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest
org.apache.ambari.server.controller.AmbariManagementControllerImplTest
org.apache.ambari.server.controller.AmbariManagementControllerTest

> Able to safe guard Ambari server against circular dependencies in role 
> command order
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21161
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21161
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: AMBARI-21161.patch, AMBARI-21161-v3.patch
>
>
> It is important to safe guard against cycle graphs, when Ambari supports 
> mpacks, custom services and service level role command order. Cycle graphs 
> indicate circular dependencies that can cause Ambari enter an infinite loop 
> while building stages, causing Ambari server to take up 100% CPU and large 
> amount of memory.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to