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

Hudson commented on HADOOP-12178:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #591 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/591/])
HADOOP-12178. NPE during handling of SASL setup if problem with SASL (zxu: rev 
ed9806ea40b945df0637c21b68964d1d2bd204f3)
* hadoop-common-project/hadoop-common/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java


> NPE during handling of SASL setup if problem with SASL resolver class
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-12178
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12178
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.7.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12178-001.patch
>
>
> If there's any problem in the constructor of {{SaslRpcClient}}, then IPC 
> Client throws an NPE rather than forwarding the stack trace. This is because 
> the exception handler assumes that {{saslRpcClient}} is not null, that the 
> exception is related to the SASL setup itself.
> The exception handler needs to check for {{saslRpcClient}} being null, and if 
> so, rethrow the exception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to