hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4669) A file-open sometimes may not set the access time of a file
Date Mon, 17 Nov 2008 21:40:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648356#action_12648356

Raghu Angadi commented on HADOOP-4669:

patch looks fine. But I don't think this is a bug fix since end result of "logical AND (&)"
and "conditional AND (&&)" is exactly same. It is just that second condition will
always be evaluated in this case of '&'. 

+1 for the patch, though.

> A file-open sometimes may not set the access time of a file
> -----------------------------------------------------------
>                 Key: HADOOP-4669
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4669
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>             Fix For: 0.19.1
>         Attachments: setTimesBug.patch
> The access time of a file may not be set even when the file is opened for read. This
is because FileSystem.getBlockLocationsInternal may not correctly evaluate the condition that
checks whether "access time" is enabled or not.

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

View raw message