Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-733

Create container if not exist, as part of chunk write

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Ozone Datanode
    • Labels:
      None
    • Target Version/s:

      Description

      The current implementation requires a container to be created in datanode before starting the chunk write. This can be optimized by creating the container on the first chunk write.
      During chunk write, if the container is missing, we can go ahead and create the container.

      Along with this change ALLOCATED and CREATING container states can be removed as they were used to track which containers have been successfully created. Also there is a shouldCreateContainer flag which is used by client to know if it needs to create container. This flag can be removed.

        Attachments

        1. HDDS-733.001.patch
          8 kB
          Lokesh Jain
        2. HDDS-733.002.patch
          78 kB
          Lokesh Jain
        3. HDDS-733.003.patch
          80 kB
          Lokesh Jain
        4. HDDS-733.004.patch
          81 kB
          Lokesh Jain

          Issue Links

            Activity

              People

              • Assignee:
                ljain Lokesh Jain
                Reporter:
                nanda Nanda kumar
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: