[ 
https://issues.apache.org/jira/browse/HDFS-741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Boudnik updated HDFS-741:
------------------------------------

    Attachment: HDFS-741.patch

It seems that you're right. However, the point is still valid although is 
slightly different: I'm able to read >0 bytes after seek. However, they content 
is filled with '0' rather then with something the test is writing into the 
file. Slightly modified version of the test to demonstrate just that.

> TestHFlush test doesn't seek() past previously written part of the file
> -----------------------------------------------------------------------
>
>                 Key: HDFS-741
>                 URL: https://issues.apache.org/jira/browse/HDFS-741
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HDFS-741.patch, HDFS-741.patch, HDFS-741.patch
>
>
> As a part of the test scenario a file is being written, 10th of the total 
> length in a time. Then a reader is opened to read what has been just written 
> and hflush'ed. However, it always starts reading from the 0 position of the 
> file and doesn't seek to the start of the portion written last.

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