[ https://issues.apache.org/jira/browse/HDFS-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HDFS-2712: ----------------------------------- Labels: BB2015-05-TBR (was: ) > setTimes should support only for files and move the atime field down to > iNodeFile. > ---------------------------------------------------------------------------------- > > Key: HDFS-2712 > URL: https://issues.apache.org/jira/browse/HDFS-2712 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 0.23.0, 2.0.0-alpha > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Labels: BB2015-05-TBR > Attachments: HDFS-2712.patch > > > After the dicussion in HDFS-2436, unsupported behaviour for setTimes was > intentional (HADOOP-1869). > But current INode structure hierarchy seems, it supports atime for > directories also. But as per HADOOP-1869, we are supporting only for files. > To avoid the confusions, we can move the atime fields to INodeFile as we > planned to support setTimes only for files. And also restrict the support for > setTimes on directories ( which is implemented with HDFS-2436 ). -- This message was sent by Atlassian JIRA (v6.3.4#6332)