You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/07/02 23:35:05 UTC
[jira] [Created] (HADOOP-12178) NPE during handling of SASL setup
if problem with SASL resolver class
Steve Loughran created HADOOP-12178:
---------------------------------------
Summary: 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
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)