Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11888

Ozone: SCM: use state machine for open containers allocated for key/blocks

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      SCM BlockManager provision a pool of containers upon block creation request that can't be satisfied with current open containers in the pool. However, only one container is returned with the creationFlag to the client. The other container provisioned in the same batch will not have this flag. Client can't assume to use these containers that has not been created on SCM datanodes,

      This ticket is opened to fix the issue by persist the createContainerNeeded flag for the provisioned containers. The flag will be eventually cleared by processing container report from datanode when the container report handler is fully implemented on SCM.

      For now, we will use a default batch size of 1 for ozone.scm.container.provision_batch_size so that the container will be created on demand upon the first block allocation into the container.

      Attachments

        1. HDFS-11888-HDFS-7240.001.patch
          67 kB
          Xiaoyu Yao
        2. HDFS-11888-HDFS-7240.002.patch
          69 kB
          Xiaoyu Yao
        3. HDFS-11888-HDFS-7240.003.patch
          73 kB
          Xiaoyu Yao
        4. HDFS-11888-HDFS-7240.004.patch
          69 kB
          Xiaoyu Yao

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: