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 D791CCCB7 for ; Mon, 10 Mar 2014 16:44:54 +0000 (UTC) Received: (qmail 86039 invoked by uid 500); 10 Mar 2014 16:44:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85208 invoked by uid 500); 10 Mar 2014 16:44:50 -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 84980 invoked by uid 500); 10 Mar 2014 16:44:49 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84916 invoked by uid 99); 10 Mar 2014 16:44:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 16:44:49 +0000 Date: Mon, 10 Mar 2014 16:44:49 +0000 (UTC) From: "Prasad Mujumdar (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6558) HiveServer2 Plain SASL authentication broken after hadoop 2.3 upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasad Mujumdar updated HIVE-6558: ---------------------------------- Attachment: HIVE-6558.2.patch Re-attaching the patch for pre-commit test run > HiveServer2 Plain SASL authentication broken after hadoop 2.3 upgrade > --------------------------------------------------------------------- > > Key: HIVE-6558 > URL: https://issues.apache.org/jira/browse/HIVE-6558 > Project: Hive > Issue Type: Bug > Components: Authentication, HiveServer2 > Affects Versions: 0.13.0 > Reporter: Prasad Mujumdar > Assignee: Prasad Mujumdar > Priority: Blocker > Attachments: HIVE-6558.2.patch, HIVE-6558.2.patch > > > Java only includes Plain SASL client and not server. Hence HiveServer2 includes a Plain SASL server implementation. Now Hadoop has its own Plain SASL server [HADOOP-9020|https://issues.apache.org/jira/browse/HADOOP-9020] which is part of Hadoop 2.3 [release|http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/releasenotes.html]. > The two servers use different Sasl callbacks and the servers are registered in java.security.Provider via static code. As a result the HiveServer2 instance could be using Hadoop's Plain SASL server which breaks the authentication. -- This message was sent by Atlassian JIRA (v6.2#6252)