hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12980) Ozone: SCM: Restructuring container state transition and events
Date Wed, 03 Jan 2018 01:47:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anu Engineer updated HDFS-12980:
--------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: HDFS-7240
           Status: Resolved  (was: Patch Available)

[~vagarychen] Thank you for the comments and review. [~nandakumar131] Thank you for the contribution.
I have committed this patch to the feature branch.

> 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
>             Fix For: HDFS-7240
>
>         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