You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/11/08 23:20:33 UTC
[jira] [Updated] (HDFS-7382) DataNode in secure mode may throw
NullPointerException if client connects before DataNode registers itself
with NameNode.
[ https://issues.apache.org/jira/browse/HDFS-7382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-7382:
--------------------------------
Component/s: security
> DataNode in secure mode may throw NullPointerException if client connects before DataNode registers itself with NameNode.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-7382
> URL: https://issues.apache.org/jira/browse/HDFS-7382
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode, security
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Minor
>
> {{SaslDataTransferServer#receive}} needs to check if the DataNode is listening on a privileged port. It does this by checking the address from the {{DatanodeID}}. However, there is a window of time when this will be {{null}}. If a client is still holding a {{LocatedBlock}} that references that DataNode and chooses to connect, then there is a risk of getting a {{NullPointerException}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)