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

Gopal V commented on HIVE-8424:
-------------------------------

Possibly by moving the imports into an inner class, which is only loaded if 
{{isFairScheduler(conf) == true}}

> Support fair scheduler user queue mapping in non-impersonation mode
> -------------------------------------------------------------------
>
>                 Key: HIVE-8424
>                 URL: https://issues.apache.org/jira/browse/HIVE-8424
>             Project: Hive
>          Issue Type: Improvement
>          Components: Shims
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>              Labels: TODOC15
>             Fix For: 0.15.0
>
>         Attachments: HIVE-8424.1.patch, HIVE-8424.2.patch, HIVE-8424.3.patch, 
> HIVE-8424.patch
>
>
> Under non-impersonation mode, all MR jobs run as the hive system user. The 
> default scheduler queue mapping is one queue per user. This is problematic 
> for users who use the queues to regulate and track their MR resource usage.
> Yarn exposes an API to retrieve the fair scheduler queue mapping, which we 
> can use to set the appropriate MR queue for the current user.



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

Reply via email to