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

Hadoop QA commented on AMBARI-9807:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12700968/AMBARI-9807.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/1822//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/1822//console

This message is automatically generated.

> Store Configuration In Agent Memory For Alerts
> ----------------------------------------------
>
>                 Key: AMBARI-9807
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9807
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9807.patch
>
>
> https://issues.apache.org/jira/browse/AMBARI-8885 fixes a problem where 
> agents required a restart in order for the alert framework to pickup 
> configuration changes.
> Initially, alerts were designed so that they only received the parameters 
> they requested. A single alert definition might only need a couple of values 
> (such as hdfs-site/foo) as opposed to the entire configuration structure.
> However, it seems like we're doing a lot of extra work to ensure that these 
> values are kept current; alert definitions need to be rescheduled when a 
> configuration changes so that its cached value can be updated.
> It would be good to investigate (and implement if plausible) a way to store 
> the entire configuration structure in memory and have it accessible to alerts 
> (and any other part of the agent framework). This would allow us to:
> - Remove the code that caches values in the alert jobs before they are 
> schedule
> - Remove the code the restarts jobs on configuration changes
> - Have an up-to-date configuration structure that is easily accessible 
> without the need to parse any files on-disk
> The major concern would be that keeping such a large structure in memory 
> could cause some kind of performance degradation or memory overhead that 
> would be unacceptable. 



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

Reply via email to