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] Commented: (HDFS-585) Datanode should serve up to visible length of a replica for read requests
Date Fri, 04 Sep 2009 17:59:57 GMT

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

Hairong Kuang commented on HDFS-585:
------------------------------------

1. The patch does not handle the case that bytesOnDisk is less than visibleLength.
2. If the last chunk read is not full, there is a chance that writer is updating the chunk's
crc while the reader is reading the crc. So the client might get an unexpected ChecksumError.
I believe that this is a bug in the trunk too.
3. Shall we allow a DataNode to serve read even if its replica's GS is newer than the block
gs in the request?
4. minor: could you please change toString() in FinalizedReplicaInfo as well?

> Datanode should serve up to visible length of a replica for read requests
> -------------------------------------------------------------------------
>
>                 Key: HDFS-585
>                 URL: https://issues.apache.org/jira/browse/HDFS-585
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: Append Branch
>
>         Attachments: h585_20090903.patch
>
>
> As a part of the design in HDFS-265, datanodes should return all bytes within the visible
length of a replica to the DFSClient in order to support read consistency.

-- 
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