You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2008/09/20 00:06:44 UTC

[jira] Commented: (HADOOP-4225) FSEditLog logs modification time instead of access time.

    [ https://issues.apache.org/jira/browse/HADOOP-4225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632840#action_12632840 ] 

dhruba borthakur commented on HADOOP-4225:
------------------------------------------

Until the file is closed, the access time of a file is same as the modification time. Thus, access times need not be stored in the OP_ADD transaction. Neither does it need to be saved in the leases (INodeUnderConstruction).

The file close transaction OP_CLOSE needs to store access times, and it does.

> FSEditLog logs modification time instead of access time.
> --------------------------------------------------------
>
>                 Key: HADOOP-4225
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4225
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Konstantin Shvachko
>            Priority: Blocker
>             Fix For: 0.19.0
>
>
> ((FSEditLog.logOpenFile()}} does not persist accessTime but modificationTime instead. Should be {{getAccessTime()}}.
> Introduced in HADOOP-1869.

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