Alexander Kolbasov created SENTRY-1542:
------------------------------------------

             Summary: SentryStore shouldn't use Thrift classes for internal 
calls
                 Key: SENTRY-1542
                 URL: https://issues.apache.org/jira/browse/SENTRY-1542
             Project: Sentry
          Issue Type: Improvement
          Components: Sentry
            Reporter: Alexander Kolbasov


There is a lot of code in SentryStore that works on Thrift-generated classes 
which is rathe inconvenient since we don't have control on these classes and 
can't add custom methods and different semantics.

A better approach would be to convert Thrift request to a convenient internal 
representation and then work on such internal representations in SentryStore 
code. This would also be more efficient because things like "*.*' can be 
converted to enums/flags.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to