Hi Suvodeep, Thanks for your interest!
So SentryPolicyServiceClientDefaultImpl <https://github.com/apache/incubator-sentry/blob/master/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryPolicyServiceClientDefaultImpl.java> is the default Java Client for Sentry Service. And SimpleDBProviderBackend <https://github.com/apache/incubator-sentry/blob/master/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/SimpleDBProviderBackend.java> is an example to use this client. And Sentry is actually using upstream Hive <https://github.com/apache/incubator-sentry/blob/master/pom.xml#L71> (1.1.0) I am definitely not an expert on all the similar projects but I think Sentry provides unified authorization for multiple projects in Hadoop eco system at a much deeper level. For example, it has capability of syncing sentry permissions with HDFS ACLs so that there is just one source of truth. On Wed, Jul 22, 2015 at 1:32 PM, Suvodeep Pyne <[email protected]> wrote: > Hello > > I am working on an internal project here at LinkedIn and we are > investigating Apache Sentry as a possible authentication/authorization > engine. > > Are there any good examples of Java Sentry clients? There are tutorials > about enabling Sentry on Hive but this seems specific to Cloudera > distributions. Is there code for the main hive dist as well? Would be great > if anybody could give some pointers regarding this. > > Also as an evaluator. I was curious on the advantages that Sentry has over > other similar projects like Apache Ranger for example. > > Thanks a ton for your time! > > Regards > Suvodeep > -- Sravya Tirukkovalur
