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

(Updated April 14, 2015, 8:13 a.m.)


Review request for sentry, Lenni Kuff, Prasad Mujumdar, and Yibing Shi.


Changes
-------

* Minor refactoring
* Incorporating review feedback


Repository: sentry


Description
-------

SENTRY-696 : Improve MetastorePlugin cache initialization latency

This path introduces the following changes :
1) Exposes a config variable to allow cache initialization to happen 
asynchronously (by default false)
2) The Cache initialization itself will now be performed in parallel
   - It introduces a separate thread pool and attempts to extract 
DB/Table/Partition information as separate threadpool tasks


Diffs (updated)
-----

  
sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/ServiceConstants.java
 489d165 
  sentry-hdfs/sentry-hdfs-namenode-plugin/pom.xml f35baf4 
  sentry-hdfs/sentry-hdfs-service/pom.xml 4d65edf 
  
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastoreCacheInitializer.java
 PRE-CREATION 
  
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
 7106e74 
  
sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePluginWithHA.java
 ee5e0f9 
  
sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestMetastoreCacheInitializer.java
 PRE-CREATION 

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


Testing
-------


Thanks,

Arun Suresh

Reply via email to