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

Benoy Antony commented on HDFS-6008:
------------------------------------

Typo corrected in the previous comment: 
A few hostnames in the hosts file did NOT resolve properly to their ip address. 
This resulted in the HostFileManager creating entries with empty ip address.
When generating the deadnode list, the nodes with empty ip address caused 
IllegalArgumentException which was displayed on the screen.
Attaching a patch which doesn't canonicalize if the ip address is null/empty. A 
Unit test with positive and negative cases is also added.

> Namenode dead node link is giving HTTP error 500
> ------------------------------------------------
>
>                 Key: HDFS-6008
>                 URL: https://issues.apache.org/jira/browse/HDFS-6008
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HDFS-6008.patch, nndeadnodelist.png
>
>
> Clicking on the link to bring up list of dead nodes throws 
> IllegalArgumentException on the Namenode web UI. 
> The screenshot is attached. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to