Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7623

S3FileSystem reports block-size as length of File if file length is less than a block

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.20.1
    • Fix Version/s: None
    • Component/s: fs/s3
    • Tags:
      s3

      Description

      in S3FileSystem create a File with Block size as 67108864.
      Write some data in file of size 2048 (less than 67108864)
      Assert the block size of the file. the block size reported will be 2048 rather than 67108864.

      This behavior is not inline with HDFS.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subrotosanyal Subroto Sanyal
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: