[
https://issues.apache.org/jira/browse/AMBARI-22604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmytro Sen resolved AMBARI-22604.
---------------------------------
Resolution: Fixed
Committed to branch-feature-AMBARI-14714
> Fix hostConfigMappingEntity cluster_id, concurrency in ClusterImpl and
> serviceConfigTypes initialization
> --------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-22604
> URL: https://issues.apache.org/jira/browse/AMBARI-22604
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: ambari-server
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 3.0.0
>
>
> 1) HostConfigMappingEntity is not correct. You can't use same field
> cluster_id for current entity and for joined columns. Use
> ClusterTest.testDesiredConfig() to see this issue.
> 2) As you can see in ClusterImpl we are using concurrent maps/lists and locks
> in methods. Please do the same for your code chnages.
> 3) Initialize map serviceConfigTypes, it will prevent many NPE and additional
> check for NULL.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)