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

Thejas M Nair edited comment on HIVE-17771 at 10/17/17 5:52 AM:
----------------------------------------------------------------

bq. I see that admin commands like grant role, etc. don't have any privileges 
associated with them in HiveOperation.java. How does one control access to that 
stuff?
HiveAuthorizer interface has methods for those operations that plugins need to 
implement for them. Since plugin is being used for those methods, there is no 
additional checkPrivilege call that is made for them to check with the 
authorizer plugin.



was (Author: thejas):
bq. I see that admin commands like grant role, etc. don't have any privileges 
associated with them in HiveOperation.java. How does one control access to that 
stuff?
HiveAuthorizer interface has methods for those operations. Since authorizer 
plugin implements these operations, there is no additional checkPrivilege call 
that is made for them to check with the authorizer plugin.


> Implement create and show resource plan.
> ----------------------------------------
>
>                 Key: HIVE-17771
>                 URL: https://issues.apache.org/jira/browse/HIVE-17771
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Harish Jaiprakash
>            Assignee: Harish Jaiprakash
>         Attachments: HIVE-17771.01.patch
>
>
> Please see parent jira about llap workload management.
> This jira is to implement create and show resource plan commands in hive to 
> configure resource plans for llap workload.
> The following are the proposed commands implemented as part of the jira:
> CREATE RESOURCE PLAN plan_name WITH QUERY_PARALLELISM parallelism;
> SHOW RESOURCE PLAN;
> It will be followed up with more jiras to add pools, triggers and copy 
> resource plans. And also with drop commands for each of them.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to