[
https://issues.apache.org/jira/browse/HADOOP-12045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kazuho Fujii updated HADOOP-12045:
----------------------------------
Attachment: HADOOP-12045.004-2.patch
HADOOP-12045.004-1.patch
Hi, [~cnauroth]. Thanks for a kind comment.
I attached two more patches along your advise:
* HADOOP-12045.004-1.patch
* HADOOP-12045.004-2.patch
. The former includes additional tests for the current setTimes method;
the later includes the tests and the new setTimes method. We can confirm the
backword-compatibility with the them.
> Enable LocalFileSystem#setTimes to change atime
> -----------------------------------------------
>
> Key: HADOOP-12045
> URL: https://issues.apache.org/jira/browse/HADOOP-12045
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Kazuho Fujii
> Assignee: Kazuho Fujii
> Priority: Minor
> Attachments: HADOOP-12045.001.patch, HADOOP-12045.002.patch,
> HADOOP-12045.003.patch, HADOOP-12045.004-1.patch, HADOOP-12045.004-2.patch
>
>
> LocalFileSystem#setTimes method can not change the last access time currently.
> With java.nio.file package in Java 7, we can implement the function easily.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)