hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10941) Proxy user verification NPEs if remote host is unresolvable
Date Sat, 16 Aug 2014 15:51:18 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoy Antony updated HADOOP-10941:
----------------------------------

    Attachment: HADOOP-10941.patch

Attaching a patch which does the following:

# _DefaultImpersonationProvider_  checks whether user is null. If so, throws _IllegalArgumentException_.
Added a test case to verify the case.

# _MachineList_ checks whether remote address is null.  If so, throws _IllegalArgumentException_
. Added a test case to verify the case. Null check is performed after allowing wild cards.
(specified via *)

# _DefaultImpersonationProvider_  uses _MachineList_. Added a test case to verify whether
_DefaultImpersonationProvider_ handles null remote address properly.

> Proxy user verification NPEs if remote host is unresolvable
> -----------------------------------------------------------
>
>                 Key: HADOOP-10941
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10941
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc, security
>    Affects Versions: 3.0.0, 2.5.0
>            Reporter: Daryn Sharp
>            Assignee: Benoy Antony
>            Priority: Critical
>         Attachments: HADOOP-10941.patch
>
>
> A null is passed to the impersonation providers for the remote address if it is unresolvable.
 {{DefaultImpersationProvider}} will NPE, ipc will close the connection immediately (correct
behavior for such unexpected exceptions), client fails on {{EOFException}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message