[ 
https://issues.apache.org/jira/browse/SQOOP-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326717#comment-14326717
 ] 

Abraham Elmahrek commented on SQOOP-1978:
-----------------------------------------

The patch provided is not exactly the same as provided in the design document:
# We're using groovy which has limitations in what can be expressed
# It's more natural to follow the same argument structure in the command line

Here are the commands:
{code}
create role --role ...
delete role --role ...
grant role --principal-type ... --principal ... --role ...
revoke role --principal-type ... --principal ... --role ...
grant privilege --resource-type ... --resource ... --action ... 
--principal-type ... --principal ... [--with-grant]
revoke privilege --resource-type ... --resource ... --action ... 
--principal-type ... --principal ... [--with-grant] 
{code}

Some of the above arguments can be substituted with shorter arguments:
{{--with-grant}} - {{-g}}
{{--action}} - {{-a}}
{{--role}} - {{-r}}

> Sqoop2: Command line support
> ----------------------------
>
>                 Key: SQOOP-1978
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1978
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>            Reporter: Richard
>            Assignee: Abraham Elmahrek
>             Fix For: 1.99.6
>
>         Attachments: SQOOP-1978.0.patch
>
>
> Work on command line.



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

Reply via email to