-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45538/
-----------------------------------------------------------

Review request for Ambari, Jonathan Hurley, Nate Cole, and Sebastian Toader.


Bugs: AMBARI-15646
    https://issues.apache.org/jira/browse/AMBARI-15646


Repository: ambari


Description
-------

ThreadLocal and Cache clearing issues from the ticket. These are open for 
review.
The rest of the issues will be added soon.

The previously existing 3 variables now groupped into a single data structure 
to act as a cache. Every request has a RequestDetails object, which contains 
the last status of the request and a map for tasks. A task has a key that is 
composed of a component name and a host name, the value is the previous status 
of the task.
By using this structure, tasks for components can easily be removed and if the 
RequestDetails has no task, the request itself can also be removed.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionDBAccessorImpl.java
 79d3470 
  
ambari-server/src/main/java/org/apache/ambari/server/audit/AuditLoggerDefaultImpl.java
 1cfb740 
  
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/PermissionHelper.java
 ecf2d7a 

Diff: https://reviews.apache.org/r/45538/diff/


Testing
-------


Thanks,

Daniel Gergely

Reply via email to