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 Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.20.1
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
    • 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.

      1. HADOOP-7623.patch
        9 kB
        Subroto Sanyal

        Activity

          People

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

            Dates

            • Created:
              Updated:

              Development