Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2712

setTimes should support only for files and move the atime field down to iNodeFile.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.23.0, 2.0.0-alpha
    • None
    • namenode

    Description

      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 ).

      Attachments

        1. HDFS-2712.patch
          13 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: