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 "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/04/09 00:35:16 UTC

[jira] [Updated] (HDFS-6206) DFSUtil.substituteForWildcardAddress may throw NPE

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

Tsz Wo Nicholas Sze updated HDFS-6206:
--------------------------------------

    Attachment: h6206_20140408.patch

h6206_20140408.patch: check null.

> DFSUtil.substituteForWildcardAddress may throw NPE
> --------------------------------------------------
>
>                 Key: HDFS-6206
>                 URL: https://issues.apache.org/jira/browse/HDFS-6206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h6206_20140408.patch
>
>
> InetSocketAddress.getAddress() may return null if the address null is unresolved.  In such case, DFSUtil.substituteForWildcardAddress may throw NPE.



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