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

Ozone: SCM: CLI: Revisit delete container API

    XMLWordPrintableJSON

Details

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

    Description

      Current delete container API seems can be possibly running into inconsistent state. SCM maintains a mapping of container to nodes, datanode maintains the actual container's data. When deletes a container, we need to make sure db is removed as well as the mapping in SCM also gets updated. What if the datanode failed to remove stuff for a container, do we update the mapping? We need to revisit the implementation and get these issues addressed. See more discussion here.

      Attachments

        1. HDFS-11716-HDFS-7240.001.patch
          20 kB
          Weiwei Yang
        2. HDFS-11716-HDFS-7240.002.patch
          24 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: