You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/10/19 16:50:59 UTC

[jira] [Commented] (AMBARI-18475) Remove Global Cluster Lock Shared Between Business Objects

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

Hudson commented on AMBARI-18475:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5826 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5826/])
AMBARI-18475 - Remove Global Cluster Lock Shared Between Business (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=561c6f2f38f9b262dda4acd7ff0526b7caf55bce])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponent.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/update/HostUpdateHelperTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertServiceStateListener.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/Service.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/configgroup/ConfigGroupImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/annotations/ExperimentalFeature.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java


> Remove Global Cluster Lock Shared Between Business Objects
> ----------------------------------------------------------
>
>                 Key: AMBARI-18475
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18475
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>
> Remove shared instances of the shared {{ReadWriteLock}} found in {{ClusterImpl}}. For now, the lock can remain private and full encapsulated inside of {{ClusterImpl}}, but it's use and reference across the rest of Ambari should be removed.
> This is part of the effort to refactor/remove the (mostly) unnecessary locks in memory. The shared instance of this lock is the number one reason that Ambari "deadlocks" when under load.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)