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 00065200BD1 for ; Mon, 14 Nov 2016 06:10:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F2E29160B17; Mon, 14 Nov 2016 05:10:00 +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 45E46160AE4 for ; Mon, 14 Nov 2016 06:10:00 +0100 (CET) Received: (qmail 21172 invoked by uid 500); 14 Nov 2016 05:09:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 21125 invoked by uid 99); 14 Nov 2016 05:09:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2016 05:09:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C1F5D2C4C87 for ; Mon, 14 Nov 2016 05:09:58 +0000 (UTC) Date: Mon, 14 Nov 2016 05:09:58 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13627) Have an explicit KerberosAuthException for UGI to throw, text from public constants MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Nov 2016 05:10:01 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13627?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HADOOP-13627: ------------------------------- Labels: supportability (was: ) > Have an explicit KerberosAuthException for UGI to throw, text from public= constants > -------------------------------------------------------------------------= ---------- > > Key: HADOOP-13627 > URL: https://issues.apache.org/jira/browse/HADOOP-13627 > Project: Hadoop Common > Issue Type: Sub-task > Components: security > Affects Versions: 2.7.3 > Reporter: Steve Loughran > Assignee: Xiao Chen > Labels: supportability > Fix For: 2.9.0, 3.0.0-alpha2 > > Attachments: HADOOP-13627.01.patch, HADOOP-13627.02.patch, HADOOP= -13627.03.patch > > > UGI creates simple IOEs on failure, making it impossible to catch them, i= gnore them, have smart retry logic around them, etc. > # Have an explicit exception like {{KerberosAuthException extends IOExcep= tion}} to raise instead. We can't use {{AuthenticationException}} as that d= oesn't extend IOE. > # move {{UGI}}, {{SecurityUtil}} and things related off simple IOEs and i= nto the new one > # review exceptions raised and consider if they can provide more informat= ion > # for the strings that get created, put them as public static constants, = so that tests can look for them explicitly =E2=80=94tests that don't break = if the text is changed. > # maybe, {{getUGIFromTicketCache}} to throw this rather than an RTE if no= login principals were found (it throws IOEs on login failures, after all) > # keep KDiag in sync with this -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org