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

Andrew Wang updated HDFS-5430:
------------------------------

    Attachment: hdfs-5430-3.patch

New patch attached. I reworked it so CDI has both an absolute and relative 
time. The client can set either, but the NN will translate relative time to 
absolute time for the CacheDirective and for serialization to the edit log and 
fsimage. Also added tests for time unit conversion.

> Support TTL on CacheBasedPathDirectives
> ---------------------------------------
>
>                 Key: HDFS-5430
>                 URL: https://issues.apache.org/jira/browse/HDFS-5430
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Colin Patrick McCabe
>            Assignee: Andrew Wang
>            Priority: Minor
>         Attachments: hdfs-5430-1.patch, hdfs-5430-2.patch, hdfs-5430-3.patch
>
>
> It would be nice if CacheBasedPathDirectives would support an expiration 
> time, after which they would be automatically removed by the NameNode.  This 
> time would probably be in wall-block time for the convenience of system 
> administrators.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to