[
https://issues.apache.org/jira/browse/SQOOP-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard updated SQOOP-2101:
---------------------------
Attachment: TestClient.java
This is a test class.
command is:
{code}
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient get role (role_name)
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient create role
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient drop role
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient grant role
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient get roles by
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient get principals by
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient grant privilege
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient revoke privilege
(true/false/all)
java -cp "shell/lib/*" org.apache.sqoop.client.TestClient get privileges
(resource_name resource_type)
{code}
> SQOOP2: Add SqoopClient support to call Restful API
> ---------------------------------------------------
>
> Key: SQOOP-2101
> URL: https://issues.apache.org/jira/browse/SQOOP-2101
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Richard
> Assignee: Richard
> Fix For: 1.99.6
>
> Attachments: SQOOP-2101.0.patch, SQOOP-2101.1.patch, TestClient.java
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)