You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/06/04 09:34:20 UTC

[jira] [Created] (HDFS-4875) Add a test for testing snapshot file length

Tsz Wo (Nicholas), SZE created HDFS-4875:
--------------------------------------------

             Summary: Add a test for testing snapshot file length
                 Key: HDFS-4875
                 URL: https://issues.apache.org/jira/browse/HDFS-4875
             Project: Hadoop HDFS
          Issue Type: Test
          Components: snapshots, test
            Reporter: Tsz Wo (Nicholas), SZE
            Assignee: Arpit Agarwal
            Priority: Minor


Here is a test idea from Suresh:

- A file was length x at the time of snapshot (say s1) creation
- Later y bytes get added to the file through append

When client gets block locations for the file from snapshot s1, the length it know is x. We should make sure it cannot read beyond length x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira