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
    • 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

        Subroto Sanyal created issue -
        Subroto Sanyal made changes -
        Field Original Value New Value
        Original Estimate 72h [ 259200 ]
        Remaining Estimate 72h [ 259200 ]
        Subroto Sanyal made changes -
        Attachment HADOOP-7623.patch [ 12495024 ]
        Subroto Sanyal made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Subroto Sanyal made changes -
        Hadoop Flags [Reviewed]
        Harsh J made changes -
        Fix Version/s 0.24.0 [ 12317652 ]
        Harsh J made changes -
        Affects Version/s 0.21.0 [ 12313563 ]
        Affects Version/s 0.20.203.0 [ 12316064 ]
        Affects Version/s 0.20.204.0 [ 12316317 ]
        Allen Wittenauer made changes -
        Labels hadoop BB2015-05-TBR hadoop

          People

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

            Dates

            • Created:
              Updated:

              Development