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 "Hairong Kuang (JIRA)" <ji...@apache.org> on 2009/10/23 02:35:59 UTC

[jira] Created: (HDFS-728) Creat a comprehensive functional test for append

Creat a comprehensive functional test for append
------------------------------------------------

                 Key: HDFS-728
                 URL: https://issues.apache.org/jira/browse/HDFS-728
             Project: Hadoop HDFS
          Issue Type: New Feature
    Affects Versions: 0.21.0
            Reporter: Hairong Kuang
             Fix For: 0.21.0


This test aims to do
1. create a file of len1;
2. reopen the file for append;
3. write len2 bytes to the file and hflush;
4. write len3 bytes to the file and close the file;
5. validate the content of the file.

Len1 ranges from [0, 2*BLOCK_SIZE+1], len2 ranges from [0, BLOCK_SIZE+1], and len3 ranges from [0, BLOCK_SIZE+1]. The test tries all combination of len1, len2, and len3. To minimize the running time, bytes per checksum is set to be 4 bytes, each packet size is set to be bytes per checksum, and each block contains 2 packets.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HDFS-728) Creat a comprehensive functional test for append

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang resolved HDFS-728.
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

I've committed this!

> Creat a comprehensive functional test for append
> ------------------------------------------------
>
>                 Key: HDFS-728
>                 URL: https://issues.apache.org/jira/browse/HDFS-728
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.21.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0
>
>         Attachments: appendTest.patch, appendTest1.patch, HDFS-728.patch
>
>
> This test aims to do
> 1. create a file of len1;
> 2. reopen the file for append;
> 3. write len2 bytes to the file and hflush;
> 4. write len3 bytes to the file and close the file;
> 5. validate the content of the file.
> Len1 ranges from [0, 2*BLOCK_SIZE+1], len2 ranges from [0, BLOCK_SIZE+1], and len3 ranges from [0, BLOCK_SIZE+1]. The test tries all combination of len1, len2, and len3. To minimize the running time, bytes per checksum is set to be 4 bytes, each packet size is set to be bytes per checksum, and each block contains 2 packets.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.