Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2712

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

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None

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

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

        Issue Links

          Activity

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Uma Maheswara Rao G
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:

                Development