[jira] [Updated] (AMBARI-21898) Property provider in-memory maps are refreshed too slowly after config updates

2017-09-06 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21898:
-
Attachment: AMBARI-21898.patch

> Property provider in-memory maps are refreshed too slowly after config updates
> --
>
> Key: AMBARI-21898
> URL: https://issues.apache.org/jira/browse/AMBARI-21898
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Siddharth Wagle
>Assignee: Siddharth Wagle
>Priority: Critical
> Fix For: 2.6.0
>
> Attachments: AMBARI-21898.patch
>
>
> Building the hostComponentMap map for ProviderModule seems does unnecessary 
> computation going through the ResourceProvider layer. On every configuration 
> update, we call the reset on these maps which takes a long time to refresh. 
> Instead, relying on 
> org.apache.ambari.server.state.cluster.ClusterImpl#serviceComponentHosts will 
> lead to faster computation without overhead like stale config calculations 
> for every SCH.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21898) Property provider in-memory maps are refreshed too slowly after config updates

2017-09-06 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21898:
-
Status: Patch Available  (was: Open)

> Property provider in-memory maps are refreshed too slowly after config updates
> --
>
> Key: AMBARI-21898
> URL: https://issues.apache.org/jira/browse/AMBARI-21898
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Siddharth Wagle
>Assignee: Siddharth Wagle
>Priority: Critical
> Fix For: 2.6.0
>
> Attachments: AMBARI-21898.patch
>
>
> Building the hostComponentMap map for ProviderModule seems does unnecessary 
> computation going through the ResourceProvider layer. On every configuration 
> update, we call the reset on these maps which takes a long time to refresh. 
> Instead, relying on 
> org.apache.ambari.server.state.cluster.ClusterImpl#serviceComponentHosts will 
> lead to faster computation without overhead like stale config calculations 
> for every SCH.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21898) Property provider in-memory maps are refreshed too slowly after config updates

2017-09-06 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21898:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Pushed to 2.6 and trunk.

> Property provider in-memory maps are refreshed too slowly after config updates
> --
>
> Key: AMBARI-21898
> URL: https://issues.apache.org/jira/browse/AMBARI-21898
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Siddharth Wagle
>Assignee: Siddharth Wagle
>Priority: Critical
> Fix For: 2.6.0
>
> Attachments: AMBARI-21898.patch
>
>
> Building the hostComponentMap map for ProviderModule seems does unnecessary 
> computation going through the ResourceProvider layer. On every configuration 
> update, we call the reset on these maps which takes a long time to refresh. 
> Instead, relying on 
> org.apache.ambari.server.state.cluster.ClusterImpl#serviceComponentHosts will 
> lead to faster computation without overhead like stale config calculations 
> for every SCH.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21898) Property provider in-memory maps are refreshed too slowly after config updates

2017-09-07 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21898:
-
Attachment: AMBARI-21898.patch

> Property provider in-memory maps are refreshed too slowly after config updates
> --
>
> Key: AMBARI-21898
> URL: https://issues.apache.org/jira/browse/AMBARI-21898
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Siddharth Wagle
>Assignee: Siddharth Wagle
>Priority: Critical
> Fix For: 2.6.0
>
> Attachments: AMBARI-21898.patch, AMBARI-21898.patch
>
>
> Building the hostComponentMap map for ProviderModule seems does unnecessary 
> computation going through the ResourceProvider layer. On every configuration 
> update, we call the reset on these maps which takes a long time to refresh. 
> Instead, relying on 
> org.apache.ambari.server.state.cluster.ClusterImpl#serviceComponentHosts will 
> lead to faster computation without overhead like stale config calculations 
> for every SCH.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)