hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhaoyunjiong (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-7044) Support retention policy based on access time and modify time, use XAttr to store policy
Date Thu, 18 Sep 2014 01:22:34 GMT

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

zhaoyunjiong resolved HDFS-7044.
--------------------------------
    Resolution: Duplicate

Thanks  Allen Wittenauer and Zesheng Wu.
After I read the comments in HDFS-6382, now I understand the concerns.

> Support retention policy based on access time and modify time, use XAttr to store policy
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-7044
>                 URL: https://issues.apache.org/jira/browse/HDFS-7044
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: namenode
>            Reporter: zhaoyunjiong
>            Assignee: zhaoyunjiong
>         Attachments: Retention policy design.pdf
>
>
> The basic idea is set retention policy on directory based on access time and modify time
and use XAttr to store policy.
> Files under directory which have retention policy will be delete if meet the retention
rule.
> There are three rule:
> # access time 
> #* If (accessTime + retentionTimeForAccess < now), the file will be delete
> # modify time
> #* If (modifyTime + retentionTimeForModify < now), the file will be delete
> # access time and modify time
> #* If (accessTime + retentionTimeForAccess < now && modifyTime + retentionTimeForModify
< now ), the file will be delete



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message