hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1577) Fall back to a random datanode when bestNode fails
Date Tue, 11 Jan 2011 00:46:45 GMT
Fall back to a random datanode when bestNode fails
--------------------------------------------------

                 Key: HDFS-1577
                 URL: https://issues.apache.org/jira/browse/HDFS-1577
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
            Reporter: Hairong Kuang
            Assignee: Hairong Kuang
             Fix For: 0.23.0


When NameNod decides to redirect a read request to a datanode, if it can not find a live node
that contains a block of the file, NameNode should choose a random datanode instead of throwing
an exception.

This is because a live node test is against its http port. A non-functional jetty servlet
(may due to bug like JETTY-1264) does not mean that the replica on that DataNode is not readable.
Redirecting the read request to a random datanode could make hftp function better when DataNodes
hit bugs like JETTY-1264.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message