> On May 18, 2017, 12:37 a.m., Alexander Kolbasov wrote:
> > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/thrift/SentryGenericServiceClientDefaultImpl.java
> > Line 74 (original), 69 (patched)
> > <https://reviews.apache.org/r/59317/diff/2/?file=1723582#file1723582line76>
> >
> >     1) Why is it only done for Generic clients but not for other clients? 
> > What is the difference? I'd rather see the common solution that works for 
> > everyone.
> >     2) Since you are modifying config that you got from someone else, IMO 
> > you should get a private copy to use for modifications.

bq. 2) Since you are modifying config that you got from someone else, IMO you 
should get a private copy to use for modifications.
I suggested editing the supplied conf directly so that any further usages of 
that conf/ (by the caller) will reflect the right updated settings.


- Vamsee


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


On May 18, 2017, 12:06 a.m., kalyan kumar kalvagadda wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59317/
> -----------------------------------------------------------
> 
> (Updated May 18, 2017, 12:06 a.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, Brian Towles, Hao Hao, Na Li, 
> Sergio Pena, Vamsee Yarlagadda, and Vadim Spector.
> 
> 
> Bugs: SENTRY-1736
>     https://issues.apache.org/jira/browse/SENTRY-1736
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> As part of SENTRY-1593, code in SentryGenericServiceClientDefaultImpl which 
> set HADOOP_SECURITY_AUTHENTICATION property and update UserGroupInformation 
> class is missed.
> 
> 
> Diffs
> -----
> 
>   
> sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryTransportFactory.java
>  9b9f9e8 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/thrift/SentryGenericServiceClientDefaultImpl.java
>  b7ac640 
> 
> 
> Diff: https://reviews.apache.org/r/59317/diff/2/
> 
> 
> Testing
> -------
> 
> Made sure that Solr client is able to talk to sentry with kerberos enabled.
> 
> 
> Thanks,
> 
> kalyan kumar kalvagadda
> 
>

Reply via email to