Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4FE12200B29 for ; Wed, 15 Jun 2016 20:14:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4E84C160A19; Wed, 15 Jun 2016 18:14:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C122C160A4D for ; Wed, 15 Jun 2016 20:14:10 +0200 (CEST) Received: (qmail 93394 invoked by uid 500); 15 Jun 2016 18:14:09 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 93300 invoked by uid 99); 15 Jun 2016 18:14:09 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 18:14:09 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A2D832C1F6A for ; Wed, 15 Jun 2016 18:14:09 +0000 (UTC) Date: Wed, 15 Jun 2016 18:14:09 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-11089) Hive Streaming: connection fails when using a proxy user UGI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Jun 2016 18:14:11 -0000 [ https://issues.apache.org/jira/browse/HIVE-11089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zheng reassigned HIVE-11089: -------------------------------- Assignee: Wei Zheng > Hive Streaming: connection fails when using a proxy user UGI > ------------------------------------------------------------ > > Key: HIVE-11089 > URL: https://issues.apache.org/jira/browse/HIVE-11089 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.14.0, 1.0.0, 1.2.0 > Reporter: Adam Kunicki > Assignee: Wei Zheng > Labels: ACID, Streaming > > HIVE-7508 "Add Kerberos Support" seems to also remove the ability to specify a proxy user. > HIVE-8427 adds a call to ugi.hasKerberosCredentials() to check whether the connection is supposed to be a secure connection. > This however breaks support for Proxy Users as a proxy user UGI will always return false to hasKerberosCredentials(). > See lines 273, 274 of HiveEndPoint.java > {code} > this.secureMode = ugi==null ? false : ugi.hasKerberosCredentials(); > this.msClient = getMetaStoreClient(endPoint, conf, secureMode); > {code} > It also seems that between 13.1 and 0.14 the newConnection() method that includes a proxy user has been removed. > for reference: https://github.com/apache/hive/commit/8e423a12db47759196c24535fbc32236b79f464a -- This message was sent by Atlassian JIRA (v6.3.4#6332)