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

Tsz Wo (Nicholas), SZE commented on HDFS-2288:
----------------------------------------------

> Nicholas: given the above, do you think this patch is correct?

Hi Todd, first sorry that I forgot to answer it earlier.  I think the patch is 
incorrect.  The data in RWR should not be visible since the RWR may be invalid. 
 I agree with Konstantin that the reader should wait for recovery.  Yes, it 
will take minutes.  Why it takes so long?  It is because the writer only writes 
to a single replica in the first place.
                
> Replicas awaiting recovery should return a full visible length
> --------------------------------------------------------------
>
>                 Key: HDFS-2288
>                 URL: https://issues.apache.org/jira/browse/HDFS-2288
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.24.0
>
>         Attachments: hdfs-2288.txt
>
>
> Currently, if the client calls getReplicaVisibleLength for a RWR, it returns 
> a visible length of 0. This causes one of HBase's tests to fail, and I 
> believe it's incorrect behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to