[
https://issues.apache.org/jira/browse/HDFS-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686581#comment-13686581
]
Hudson commented on HDFS-4875:
------------------------------
Integrated in Hadoop-Yarn-trunk #244 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/244/])
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
> Fix For: 2.1.0-beta
>
> 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