Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2041

Some mtimes and atimes are lost when edit logs are replayed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The refactoring in HDFS-2003 allowed findbugs to expose two potential bugs:

      • the atime field logged with OP_MKDIR is unused
      • the timestamp field logged with OP_CONCAT_DELETE is unused

      The concat issue is definitely real. The atime for MKDIR might always be identical to mtime in that case, in which case it could be ignored.

      1. hdfs-2041.txt
        7 kB
        Todd Lipcon
      2. hdfs-2041.txt
        6 kB
        Todd Lipcon

        Issue Links

          Activity

          Todd Lipcon created issue -
          Todd Lipcon made changes -
          Field Original Value New Value
          Attachment hdfs-2041.txt [ 12481641 ]
          Todd Lipcon made changes -
          Link This issue relates to HDFS-2003 [ HDFS-2003 ]
          Aaron T. Myers made changes -
          Assignee Todd Lipcon [ tlipcon ]
          Todd Lipcon made changes -
          Attachment hdfs-2041.txt [ 12481995 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development