[ https://issues.apache.org/jira/browse/HDFS-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923262#action_12923262
]
dhruba borthakur commented on HDFS-1463:
----------------------------------------
This could be problematic because SafeMode implies readonly mode, but this patch could make
readers fail if it needed to update accessTime fo a file. I would prefer to skip updating
accesstime of a file if the namenode is in SafeMode.
> accessTime updates should not occur in safeMode
> -----------------------------------------------
>
> Key: HDFS-1463
> URL: https://issues.apache.org/jira/browse/HDFS-1463
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: accessTimeSafeMode.txt
>
>
> FSNamesystem.getBlockLocations sometimes need to update the accessTime of files. If the
namenode is in safemode, this call should fail.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|