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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/10/09 03:37: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=12638168#action_12638168 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-4225:
------------------------------------------------
I think the correct way to fix this is changing logOpenFile(...) to write only mtime but not atime. However, this will introduce a layout change.
+1 to the patch. Konstantin's change makes the code more clear. Otherwise, it is hard to understand why writing the same number twice.
> 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
> Assignee: Konstantin Shvachko
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: LogATime.patch
>
>
> {{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.