Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92E871071F for ; Wed, 3 Dec 2014 05:36:17 +0000 (UTC) Received: (qmail 67650 invoked by uid 500); 3 Dec 2014 05:36:16 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 67579 invoked by uid 500); 3 Dec 2014 05:36:16 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 67569 invoked by uid 99); 3 Dec 2014 05:36:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 05:36:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vikram@hortonworks.com designates 209.85.218.48 as permitted sender) Received: from [209.85.218.48] (HELO mail-oi0-f48.google.com) (209.85.218.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 05:36:11 +0000 Received: by mail-oi0-f48.google.com with SMTP id u20so10186523oif.7 for ; Tue, 02 Dec 2014 21:35:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=GwpT2VrP51YZm3lQ9bqNwjmi6qxX5ckSPaPtgnKULns=; b=RIQHUXg5gaQYl42+4g8VG/BRYr3abyQT5IfyBRVNhNQYvbQsFdB1xHw/l5ZA4qOOxl Vx4Rw56HcryPY8yiRa9c51OO3QpXTFiXezZ5ngmjggzQKu6niOT+gt3r/3Lemv+EnzpC 5oYJoEgB+uUKC92P5/MTfbWqSDdanfFpyDeGkbAlX16ORwLWSJot/s/PGhR2c9xWXeUs MvG3hbmS6MqGZQeTZTrhXU2nfaLUio5nF/dJl0MloN5lMMNq2stLpQr5jyj153ECMBfO iMe/IeWx5cyFrBnH0RTtuFeSeRVuV5qzBId0sHug2b7rzXfKlU683YSFc8O8PC0UMAmT Da7Q== X-Gm-Message-State: ALoCoQngPpYn/qnpH1E2Rtl/BM0P9d5TeGXGUlVIYx8toktYvYPhRaS1IJgoh8keNznh1iki55QgsXfFziNuWmNX/rCLlwu8+Le9hlT5lq6p3Q9I2ceN9xc= MIME-Version: 1.0 X-Received: by 10.60.78.167 with SMTP id c7mr2034004oex.18.1417584906384; Tue, 02 Dec 2014 21:35:06 -0800 (PST) Received: by 10.202.212.5 with HTTP; Tue, 2 Dec 2014 21:35:06 -0800 (PST) In-Reply-To: References: Date: Tue, 2 Dec 2014 21:35:06 -0800 Message-ID: Subject: Re: Enabling Tez sessions on HiveServer2 From: Vikram Dixit To: "user@hive.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Pala, Can you share the settings you have used for those mentioned in the document? Are you trying to use the tez session pools? As the document mentions, you need to disable doAs to ensure usage of the session pool. Also, the hive server 2 settings need to be in place at the time of starting the server. Regards Vikram. On Tue, Dec 2, 2014 at 2:42 PM, Hitesh Shah wrote: > BCC=E2=80=99ed user@tez. > > This question belongs to either the hive user list or the Hortonworks use= r forums. > > thanks > =E2=80=94 Hitesh > > On Dec 2, 2014, at 1:28 PM, Pala M Muthaia = wrote: > >> Hi, >> >> I am trying to get Tez sessions enabled with HS2. I start the HiveServer= 2 instance with the flag "-hiveconf hive.execution.engine=3Dtez" and then t= ry to submit multiple queries one after another, as the same user, to the H= S2 instance. >> >> When i check the YARN UI, i find that each query of mine is launched as = a new YARN application. While the new Tez application is running, the old T= ez applications are still alive. This is different from Tez session in Hive= CLI, where multiple queries are submitted to the same Tez application (if = launched within the Tez session timeout). >> >> >> I followed the config instructions at http://docs.hortonworks.com/HDPDoc= uments/HDP2/HDP-2.1.2/bk_installing_manually_book/content/rpm-chap-tez-conf= igure_hive_for_tez.html so far. >> >> Is there a separate config flag that i need to turn on for Tez sessions = on HS2? How should i enable Tez sessions with HiveServer2. >> >> >> -pala > --=20 CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to= =20 which it is addressed and may contain information that is confidential,=20 privileged and exempt from disclosure under applicable law. If the reader= =20 of this message is not the intended recipient, you are hereby notified that= =20 any printing, copying, dissemination, distribution, disclosure or=20 forwarding of this communication is strictly prohibited. If you have=20 received this communication in error, please contact the sender immediately= =20 and delete it from your system. Thank You.