hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13627) Have an explicit KerberosAuthException for UGI to throw, text from public constants
Date Fri, 07 Oct 2016 21:01:20 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556235#comment-15556235

Hudson commented on HADOOP-13627:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10569 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10569/])
HADOOP-13627. Have an explicit KerberosAuthException for UGI to throw, (xiao: rev 2e853be6577a5b98fd860e6d64f89ca6d160514a)
* (add) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/KerberosAuthException.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* (add) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UGIExceptionMessages.java

> 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
>             Fix For: 2.9.0
>         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, ignore them,
have smart retry logic around them, etc.
> # Have an explicit exception like {{KerberosAuthException extends IOException}} to raise
instead. We can't use {{AuthenticationException}} as that doesn't extend IOE.
> # move {{UGI}}, {{SecurityUtil}} and things related off simple IOEs and into the new
> # review exceptions raised and consider if they can provide more information
> # for the strings that get created, put them as public static constants, so that tests
can look for them explicitly —tests 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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message