Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A43C17EB5 for ; Mon, 13 Oct 2014 18:12:11 +0000 (UTC) Received: (qmail 57658 invoked by uid 500); 13 Oct 2014 18:12:09 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 57583 invoked by uid 500); 13 Oct 2014 18:12:09 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 57561 invoked by uid 99); 13 Oct 2014 18:12:09 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2014 18:12:09 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 3DF591D352C; Mon, 13 Oct 2014 18:12:05 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5011582588169662061==" MIME-Version: 1.0 Subject: Re: Review Request 26515: HIVE-8424 : Support fair scheduler user queue mapping in non-impersonation mode From: "Brock Noland" To: "Mohit Sabharwal" , "hive" , "Brock Noland" Date: Mon, 13 Oct 2014 18:12:05 -0000 Message-ID: <20141013181205.24426.97417@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Brock Noland" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/26515/ X-Sender: "Brock Noland" References: <20141010042828.24817.67141@reviews.apache.org> In-Reply-To: <20141010042828.24817.67141@reviews.apache.org> Reply-To: "Brock Noland" X-ReviewRequest-Repository: hive-git --===============5011582588169662061== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26515/#review56425 ----------------------------------------------------------- Ship it! Ship It! - Brock Noland On Oct. 10, 2014, 4:28 a.m., Mohit Sabharwal wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/26515/ > ----------------------------------------------------------- > > (Updated Oct. 10, 2014, 4:28 a.m.) > > > Review request for hive. > > > Bugs: HIVE-8424 > https://issues.apache.org/jira/browse/HIVE-8424 > > > Repository: hive-git > > > Description > ------- > > HIVE-8424 : Support fair scheduler user queue mapping in non-impersonation mode > > 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. > > This patch uses the Yarn API to set the fair scheduler queue mapping for > the current user, if impersonation is turned off. > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 6a1a5f0542ca0723e9e415863ca74c8b43bcc96c > itests/hive-unit/pom.xml 077631a7d809e6d5fd79815fca8882898ee172e9 > itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestSchedulerQueue.java PRE-CREATION > pom.xml f5a25e5c86b0801d382abd66597be8d7ac69e426 > service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java f021870cf48c55a3d2dea4c825f1f25d0ab008f3 > shims/0.20/src/main/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java 52f02c1a7915125fedd7b756e1db4611cf81d966 > shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java 07946df1b0fc9064925f431fe1f0e2c020b41dfc > shims/0.23/pom.xml ad71fccc2f94f4523cbb3572fecc06e54528d630 > shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java 9829c1b54ed2c1cb3068a569ff47d897f6284933 > shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java d56795f7be1cffa13ea7b3ea2cd50db90730c020 > > Diff: https://reviews.apache.org/r/26515/diff/ > > > Testing > ------- > > Added unit test > > > Thanks, > > Mohit Sabharwal > > --===============5011582588169662061==--