ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Lal <a...@hortonworks.com>
Subject Re: Review Request 42747: Audit shutdown hook should not only do its processing interruptibly but also have an upper bound on how long it runs
Date Tue, 26 Jan 2016 18:59:46 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 26, 2016, 10:59 a.m.)

Review request for ranger and Madhan Neethiraj.


Changed asyn cleanup thread to daemon.

Bugs: RANGER-821

Repository: ranger


Will port this to tip of 0.5, too.  Once approved I would like to treat it as an approval
to port it to 0.5.x, too.

Diffs (updated)

  agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditProviderFactory.java bc59897

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


Simulated backlog in HDFS audit provider inside an HDFS plugin.  Issued shutdown of the NN
and then observed that:
- the shutdown hook was fired
- the async hook did its work
- Async thread got interrupted and then exited from its while loop
- Shutdown hook thread exited
- NN host services shutdown/pocess went away.


Alok Lal

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message