Hftp file read should retry a different datanode if the chosen best datanode 
fails to connect to NameNode
---------------------------------------------------------------------------------------------------------

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


Currently when reading a file through HftpFileSystem interface, namenode 
deterministically selects the "best" datanode from which the file is read. But 
this can cause the read to fail if the best datanode fails to connect to 
namenode because it never tries another datanode.

The proposed solution is to send a list of datanode candidates when namenode 
redirects the read request to the chosen best datanode. The the datanode could 
redirect the request to the next good datanode when it fails to connect to 
namenode.

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

Reply via email to