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] [Commented] (HDFS-12680) Ozone: SCM: Lease support for container creation
Date Thu, 26 Oct 2017 18:56:01 GMT

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

Anu Engineer commented on HDFS-12680:
-------------------------------------

+1, I will commit this shortly.

[~xyao] I am aware that the state machine inside the {{ContainerStateMachine}} is not exactly
what we need, It will be fixed in the next JIRA that uses Lease Manager for pipelines. 
[~nandakumar131] Could you please file JIRAs for both -- moving the Ratis pipeline create
to client side and adding lease manager to the pipeline create path.
 

> Ozone: SCM: Lease support for container creation
> ------------------------------------------------
>
>                 Key: HDFS-12680
>                 URL: https://issues.apache.org/jira/browse/HDFS-12680
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>              Labels: ozoneMerge
>         Attachments: HDFS-12680-HDFS-7240.000.patch, HDFS-12680-HDFS-7240.001.patch
>
>
> This brings in lease support for container creation.
> Lease should be give for a container that is moved to {{CREATING}} state when {{BEGIN_CREATE}}
event happens, {{LeaseException}} should be thrown if the container already holds a lease.
Lease must be released during {{COMPLETE_CREATE}} event. If the lease times out container
should be moved to {{DELETING}} state, and exception should be thrown if {{COMPLETE_CREATE}}
event is received on that container.



--
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