Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1806

TestBlockReport.blockReport_08() and _09() are timing-dependent and likely to fail on fast servers

    Details

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

      Description

      Method waitForTempReplica() polls every 100ms during block replication, attempting to "catch" a datanode in the state of having a TEMPORARY replica. But examination of a current Hudson test failure log shows that the replica goes from "start" to "TEMPORARY" to "FINALIZED" in only 50ms, so of course the poll usually misses it.

      1. TestBlockReport.java.patch
        1 kB
        Matt Foley
      2. blockReport_08_failure_log.html
        41 kB
        Matt Foley

        Activity

        Matt Foley created issue -
        Matt Foley made changes -
        Field Original Value New Value
        Attachment blockReport_08_failure_log.html [ 12475511 ]
        Matt Foley made changes -
        Attachment TestBlockReport.java.patch [ 12476071 ]
        Matt Foley made changes -
        Assignee Matt Foley [ mattf ]
        Matt Foley made changes -
        Link This issue is part of HDFS-1295 [ HDFS-1295 ]
        Matt Foley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.22.0 [ 12314241 ]
        Konstantin Boudnik made changes -
        Hadoop Flags [Reviewed]
        Matt Foley made changes -
        Link This issue is part of HDFS-1295 [ HDFS-1295 ]
        Eli Collins made changes -
        Fix Version/s 0.23.0 [ 12315571 ]
        Affects Version/s 0.23.0 [ 12315571 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Matt Foley
            Reporter:
            Matt Foley
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development