THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Resource | Global Namespace | Instance | ||||
---|---|---|---|---|---|---|
Connector |
|
| ||||
Link |
|
| ||||
Job |
|
| Submission |
|
|
|
Action | Privilege needed | ||
---|---|---|---|
show connector |
| ||
show link |
| ||
create link |
| ||
update link |
| ||
delete link |
| ||
enable link |
| ||
disable link |
| ||
show job |
| ||
create job |
| ||
update job |
| ||
delete job |
| ||
enable job |
| ||
disable job |
| ||
| create submission (start job | )submission create (global)
| |
useupdate submission (stop job) |
|
| |
show submission |
| delete submission |
|
Authorization framework
...
- Four metadata classes.
- Role
- principal
- This class defines user or group.
- Type: user, group, role.
- principal could be granted a role. i.e. if we want to grant a admin role to user hadoop, then grantRole (principal (name=hadoop, type=user), role (name=admin)).
- Resource
- This class defines four resources in Sqoop 2.
- Type: connector, link, job, submission.
- Privilege
- Action: create, view, update, delete, use, enable, disable.
- with_grant_option: boolean, defines whether the role could grant this privilege to other role.
...