hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "surendra singh lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8396) NPE exception can be thrown in DatanodeManager#sortLocatedBlocks
Date Thu, 14 May 2015 04:26:59 GMT

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

surendra singh lilhore commented on HDFS-8396:
----------------------------------------------

Duplicate of [HDFS-8389|https://issues.apache.org/jira/browse/HBASE-13680], its moved to HBASE.
[HBASE-13680|https://issues.apache.org/jira/browse/HBASE-13680].

> NPE exception can be thrown in DatanodeManager#sortLocatedBlocks
> ----------------------------------------------------------------
>
>                 Key: HDFS-8396
>                 URL: https://issues.apache.org/jira/browse/HDFS-8396
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>              Labels: supportability
>
> {DNSToSwitchMapping#resolve}}  could return null, thus causing {{DatanodeManager#sortLocatedBlocks}}
to throw NPE, because of its call to {{String rName = dnsToSwitchMapping.resolve(hosts).get(0);}}
> The real failure reason is not obvious to user.
> Creating this jira to make the error reporting more user friendly.



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

Mime
View raw message