Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88F261188A for ; Tue, 23 Sep 2014 10:02:35 +0000 (UTC) Received: (qmail 86519 invoked by uid 500); 23 Sep 2014 10:02:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 86482 invoked by uid 500); 23 Sep 2014 10:02:34 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 86365 invoked by uid 99); 23 Sep 2014 10:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 10:02:34 +0000 Date: Tue, 23 Sep 2014 10:02:34 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11117) UGI HadoopLoginModule doesn't catch & wrap all kerberos-related exceptions 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/HADOOP-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-11117: ------------------------------------ Fix Version/s: (was: 2.6.0) Target Version/s: 2.6.0 Status: Patch Available (was: Open) > UGI HadoopLoginModule doesn't catch & wrap all kerberos-related exceptions > -------------------------------------------------------------------------- > > Key: HADOOP-11117 > URL: https://issues.apache.org/jira/browse/HADOOP-11117 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.5.1 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Attachments: HADOOP-11117-001.patch, HADOOP-11117-002.patch > > > If something is failing with kerberos login, {{UserGroupInformation.loginUserFromKeytabAndReturnUGI()}} should fail with useful information. But not all exceptions from the inner code are caught and converted to LoginException. Those exceptions that aren't wrapped have their text and stack trace lost somewhere in the javax code, leaving on the text "login failed" and a stack trace of no value whatsoever. -- This message was sent by Atlassian JIRA (v6.3.4#6332)