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

Review request for sentry, Alexander Kolbasov and Vamsee Yarlagadda.


Bugs: SENTRY-1736
    https://issues.apache.org/jira/browse/SENTRY-1736


Repository: sentry


Description
-------

Older patch had issues as the UserGroupInformation was initialized when the 
first connection was created. This will not solve the issue as the connection 
is not created when the sentry client is created. New logic which initialize 
UserGroupInformation when the first client is created.

This patch is continuation of older patch as the older patch is already 
committed. This change set also contains tests to make sure things are as 
expected.


Diffs
-----

  
sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryTransportFactory.java
 f609d33 
  
sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestSentryHDFSServiceClientForUgi.java
 PRE-CREATION 
  
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/generic/service/thrift/TestSentryGenericServiceClientForUgi.java
 PRE-CREATION 
  
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/thrift/TestSentryPolicyServiceClientForUgi.java
 PRE-CREATION 


Diff: https://reviews.apache.org/r/59424/diff/1/


Testing
-------

Added new tests for this. Test Solr command line till in real cluster.


Thanks,

kalyan kumar kalvagadda

Reply via email to