[
https://issues.apache.org/jira/browse/HDFS-12680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anu Engineer updated HDFS-12680:
--------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: HDFS-7240
Status: Resolved (was: Patch Available)
[~linyiqun] Thanks for the reviews.
[~nandakumar131] Thanks for the contribution. I have committed this to the
feature branch. I have run all ozone tests on my machines and verified that the
latest patch works correctly.
> 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
> Fix For: HDFS-7240
>
> 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: [email protected]
For additional commands, e-mail: [email protected]