hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4875) Add a test for testing snapshot file length
Date Mon, 17 Jun 2013 17:37:20 GMT

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

Hudson commented on HDFS-4875:
------------------------------

Integrated in Hadoop-trunk-Commit #3953 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3953/])
    HDFS-4875. Add a test for testing snapshot file length. Contributed by Arpit Agarwal.
(Revision 1493850)

     Result = SUCCESS
jing9 : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1493850
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotFileLength.java

                
> 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: Sub-task
>          Components: snapshots, test
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Arpit Agarwal
>            Priority: Minor
>         Attachments: HDFS-4875.001.patch, HDFS-4875.002.patch
>
>
> 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

Mime
View raw message