hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-504) HDFS updates the modification time of a file when the file is closed.
Date Fri, 24 Jul 2009 19:51:18 GMT

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

Chun Zhang updated HDFS-504:
----------------------------

    Description: 
Current HDFS updates the modification time of a file when the file is created. We would like
to update the modification time of the file when the file is closed after being written to.
This helps HDFS Raid to detect file changes more aggressively.

Solution includes:
1. Made changes to closeFile@/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java;
2. Added unit test to testTimesAtClose@/org/apache/hadoop/hdfs/TestSetTimes.java.

  was:
HDFS updates the modification time of a file when the file is created. We would like to update
the modification time of the file when the file is closed after being written to. This helps
HDFS Raid to detect file changes more aggressively.

Solution includes:
1. Made changes to closeFile@/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java;
2. Added unit test to testTimesAtClose@/org/apache/hadoop/hdfs/TestSetTimes.java.

        Summary: HDFS updates the modification time of a file when the file is closed.  (was:
HDFS updates the modification time of a file when the file is created.)

> HDFS updates the modification time of a file when the file is closed.
> ---------------------------------------------------------------------
>
>                 Key: HDFS-504
>                 URL: https://issues.apache.org/jira/browse/HDFS-504
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.20.1
>            Reporter: Chun Zhang
>            Priority: Minor
>             Fix For: 0.20.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Current HDFS updates the modification time of a file when the file is created. We would
like to update the modification time of the file when the file is closed after being written
to. This helps HDFS Raid to detect file changes more aggressively.
> Solution includes:
> 1. Made changes to closeFile@/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java;
> 2. Added unit test to testTimesAtClose@/org/apache/hadoop/hdfs/TestSetTimes.java.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message