Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-728

Create a comprehensive functional test for append

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. appendTest.patch
          4 kB
          Hairong Kuang
        2. appendTest1.patch
          5 kB
          Hairong Kuang
        3. HDFS-728.patch
          5 kB
          Konstantin I Boudnik

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              hairong Hairong Kuang Assign to me
              Reporter:
              hairong Hairong Kuang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment