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

NameNode should limit the number of blocks per file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Currently there is no limit to number of blocks user can write to a file.

      And blocksize also can be set to minimum possible.

      User can write any number of blocks continously, which may create problems in NameNodes performance and service as the number of blocks of file increases.
      Because each time new block allocated, all blocks of the file will be persisted, and this can cause serious performance degradation

      So proposal is to limit the number of maximum blocks a user can write to a file.

      May be 1024 blocks(if 128*MB is block size then 128 GB can be max file size)

      Attachments

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: