hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12980) Ozone: SCM: Restructuring container state transition and events
Date Tue, 02 Jan 2018 20:59:00 GMT
Nanda kumar created HDFS-12980:
----------------------------------

             Summary: Ozone: SCM: Restructuring container state transition and events
                 Key: HDFS-12980
                 URL: https://issues.apache.org/jira/browse/HDFS-12980
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Nanda kumar
            Assignee: Nanda kumar


Existing state transition of containers
{noformat}
ALLOCATED --------------> CREATING ------------------> OPEN -----------------> PENDING_CLOSE
----------> CLOSED
          (BEGIN_CREATE)     |      (COMPLETE_CREATE)    |    (FULL_CONTAINER)           
    (CLOSE)
                             |                           |
                             |                           |
                             | (TIMEOUT)                 | (DELETE)
                             |                           |
                             +---------> DELETING <------+
                                            |
                                            |
                                            | (CLEANUP)
                                            |
                                        DELETED
{noformat}
We don't have support for deleting a CLOSED container in this.

*Proposal*
{noformat}
 [ALLOCATED]------->[CREATING]--------->[OPEN]---------->[CLOSING]------->[CLOSED]
            (CREATE)     |    (CREATED)       (FINALIZE)          (CLOSE)    |
                         |                                                   |
                         |                                                   |
                         |(TIMEOUT)                                  (DELETE)|
                         |                                                   |
                         +------------------> [DELETING] <-------------------+
                                                   |
                                                   |
                                          (CLEANUP)|
                                                   |
                                               [DELETED]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message