[ 
https://issues.apache.org/jira/browse/HDFS-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737209#action_12737209
 ] 

Chun Zhang commented on HDFS-504:
---------------------------------

  [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 3 new or 
modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning 
messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs 
warnings.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.

> 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
>            Assignee: Chun Zhang
>            Priority: Minor
>             Fix For: 0.20.1
>
>         Attachments: pathfile.txt, pathfile.txt, pathfile.txt, pathfile.txt
>
>   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.

Reply via email to