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.

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            umamaheswararao Uma Maheswara Rao G
            umamaheswararao Uma Maheswara Rao G

            Dates

              Created:
              Updated:

              Slack

                Issue deployment