hadoop-hdfs-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HDFS-12980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308761#comment-16308761
] 

Chen Liang commented on HDFS-12980:
-----------------------------------

Thanks for working on this [~nandakumar131]! I'm just looking at the state machine, seems
there is no longer an edge from open to delete, does this mean we will no longer be able to
delete an open container, but have to wait until it is closed?

> 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
>         Attachments: HDFS-12980-HDFS-7240.000.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message