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

Ozone: SCM: BlockManager creates a new container for each allocateBlock call

    XMLWordPrintableJSON

Details

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

    Description

      StorageContainerManager's block protocol creates a new container for each allocate block call instead of using existing open containers. This behavior is not seen once the cluster is restarted.

      When createContainer flag is set, the container state is changed from ALLOCATED to CREATING. But in refreshContainers call only ALLOCATED state is handled.

      During restart loadAllocatedContainers loads the containers map properly, which fixes the issue after restart. But we will face the same issue later when we allocate new containers.

      Attachments

        Issue Links

          Activity

            People

              nanda Nandakumar
              nanda Nandakumar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: