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



bin/sentryShell (line 1)
<https://reviews.apache.org/r/34925/#comment168762>

    Could you please also fix the unittest?



bin/sentryShell (line 43)
<https://reviews.apache.org/r/34925/#comment168758>

    Should we also make _CMD_JAR user definable?



bin/sentryShell (line 58)
<https://reviews.apache.org/r/34925/#comment168759>

    Remove all the extra spaces.



sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentryShellCommon.java
 (line 62)
<https://reviews.apache.org/r/34925/#comment168764>

    change the "create role" comment to "sentry config file path".



sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentryShellCommon.java
 (line 199)
<https://reviews.apache.org/r/34925/#comment168765>

    Will the required option be speficed as required in the printed usage?



sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/tools/TestSentryShellHive.java
 (line 420)
<https://reviews.apache.org/r/34925/#comment168761>

    Should we assert the exception type?


- Hao Hao


On June 2, 2015, 5:09 a.m., Colin Ma wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34925/
> -----------------------------------------------------------
> 
> (Updated June 2, 2015, 5:09 a.m.)
> 
> 
> Review request for sentry, Dapeng Sun, shen guoquan, and Prasad Mujumdar.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> Create a simpler shell for sentry that handles command line arguments, eg
> sentryShell --grant_role_privilege --role analyst --privilege 
> server=server1->database=db2->table=tab1->action=select
> 
> 
> Diffs
> -----
> 
>   bin/sentryShell PRE-CREATION 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentryShellCommon.java
>  PRE-CREATION 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentryShellHive.java
>  PRE-CREATION 
>   
> sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/tools/TestSentryShellHive.java
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/34925/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Colin Ma
> 
>

Reply via email to