hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-11720) LeaseManager#getINodeWithLeases() should support skipping leases of deleted files with snapshot feature
Date Fri, 25 Aug 2017 20:50:00 GMT

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

Manoj Govindassamy resolved HDFS-11720.
---------------------------------------
       Resolution: Duplicate
    Fix Version/s: 3.0.0-beta1

HDFS-12217 solved the issue described here - {{LeaseManager#getINodesWithLease()}} should
skip deleted files. Closing this jira.

> LeaseManager#getINodeWithLeases() should support skipping leases of deleted files with
snapshot feature
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11720
>                 URL: https://issues.apache.org/jira/browse/HDFS-11720
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>             Fix For: 3.0.0-beta1
>
>
> {{LeaseManager#getINodeWithLeases()}} currently returns a set of INodesInPath for all
the leases currently in the system. But, these leases could also belong to a file with snapshot
feature, which just got deleted and not yet purged. Better if we can have version of {{LeaseManager#getINodeWithLeases()}}
which returns IIP set only for non-deleted files so that some of its users like createSnapshot
which wants to look at open files only don't get tripped on the deleted files.  



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