GitHub user nickwallen opened a pull request:

    https://github.com/apache/incubator-metron/pull/362

    METRON-575 State from different profiles can be co-mingled incorrectly

    Added a keyed cache to the ProfileBuilderBolt so that it can maintain state 
for multiple profiles.  Previously, the same StellarExecutor was being used 
across multiple different Profile/Entity pairs, which was incorrect.
    
    The cache is also used to define a finite lifetime for a profile.  A new 
property was added to allow the user to control the lifetime of a profile.
    
    > `profiler.profile.ttl`:  If a message has not been applied to a Profile 
in this number of periods, the Profile will be forgotten and its resources will 
be cleaned up. If the profile TTL is `10` and the period duration is `15 
minutes`, then any Profile that has not had a message applied in the previous 
10 periods, which is the same as `150 minutes`, will be eligible for deletion. 
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nickwallen/incubator-metron METRON-575

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/362.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #362
    
----
commit 8d94fc5bcaaf1a8537639e59392d1aed8091a9ed
Author: Nick Allen <[email protected]>
Date:   2016-11-17T23:27:36Z

    METRON-575 State from different profiles can be co-mingled incorrectly

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to