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




sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 225)
<https://reviews.apache.org/r/53520/#comment228115>

    Extra "name"



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 228)
<https://reviews.apache.org/r/53520/#comment228116>

    typo: with



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 238)
<https://reviews.apache.org/r/53520/#comment228118>

    Change description to "Get all roles"?



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 242)
<https://reviews.apache.org/r/53520/#comment228119>

    Why do we need this?



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 249)
<https://reviews.apache.org/r/53520/#comment228120>

    Change to "get the first group matching the name"?



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 309)
<https://reviews.apache.org/r/53520/#comment228123>

    Define a static variable for this?



sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 (line 789)
<https://reviews.apache.org/r/53520/#comment228128>

    Use getGroup?



sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/generic/service/persistent/TestDelegateSentryStore.java
 (line 62)
<https://reviews.apache.org/r/53520/#comment228131>

    Why change from SentryAlreadyExistsException to Exception? It is checking 
for the specific exception, right?



sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java
 (line 123)
<https://reviews.apache.org/r/53520/#comment228132>

    Remove throws Exception?


- Hao Hao


On Nov. 15, 2016, 1:15 a.m., Alexander Kolbasov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/53520/
> -----------------------------------------------------------
> 
> (Updated Nov. 15, 2016, 1:15 a.m.)
> 
> 
> Review request for sentry, Colm O hEigeartaigh, Colin Ma, Hao Hao, Li Li, 
> Sravya Tirukkovalur, and Vadim Spector.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> SENTRY-1517: SentryStore shoud actually use function getMSentryRole to get 
> roles
> 
> 
> Diffs
> -----
> 
>   
> sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/generic/service/persistent/DelegateSentryStore.java
>  12245ec6d1b28863e4c1fd7b265e60204732f0e6 
>   
> sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/model/MSentryRole.java
>  0484eaade5853d13bc6671c6e0648c14f76116c0 
>   
> sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
>  742798dca6b3ad8c9b9eee1eea5380001d1d0cd9 
>   
> sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/generic/service/persistent/TestDelegateSentryStore.java
>  ef32ad40783b3c23c262f73cfa449f2e15368852 
>   
> sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java
>  66f05841b7fb009278c50d3e6c90e79063623c65 
> 
> Diff: https://reviews.apache.org/r/53520/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alexander Kolbasov
> 
>

Reply via email to