----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34002/#review85104 -----------------------------------------------------------
Ship it! Ship It! - Colin Ma On May 21, 2015, 7:41 a.m., Prasad Mujumdar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34002/ > ----------------------------------------------------------- > > (Updated May 21, 2015, 7:41 a.m.) > > > Review request for sentry, Colin Ma and Gregory Chanan. > > > Bugs: SENTRY-695 > https://issues.apache.org/jira/browse/SENTRY-695 > > > Repository: sentry > > > Description > ------- > > Sentry service doesn't read default configuration resource. As a result any > group mapping related properties (eg ldap properties etc) are not loaded from > hadoop config files like core-site.xml. These properties have to be > duplicated in sentry-site as well. When Sentry service is using underlying > Hadoop group mapping, it should read the hadoop configuration which might > include group mapping specific properties. > > This patch is enabling Sentry's Hadoop Group mapping to load the hadoop > configuration files if available. Also the group mapping service instance is > Sentry is cached so that we don't have to instantiate it for every RPC > request. > > > Diffs > ----- > > > sentry-provider/sentry-provider-common/src/main/java/org/apache/sentry/provider/common/HadoopGroupMappingService.java > 14e2d05 > > Diff: https://reviews.apache.org/r/34002/diff/ > > > Testing > ------- > > > Thanks, > > Prasad Mujumdar > >
