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

TestPendingReconstruction#testPendingReconstruction() fail in trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      when run only a UT of TestPendingReconstruction#testPendingReconstruction(), it will fail and throw NullPointerException.

      2019-12-02 16:02:54,887 [org.apache.hadoop.hdfs.server.blockmanagement.PendingReconstructionBlocks$PendingReconstructionMonitor@57baeedf] WARN  blockmanagement.BlockManager (PendingReconstructionBlocks.java:pendingReconstructionCheck(273)) - PendingReconstructionMonitor timed out blk_0_02019-12-02 16:02:54,887 [org.apache.hadoop.hdfs.server.blockmanagement.PendingReconstructionBlocks$PendingReconstructionMonitor@57baeedf] WARN  blockmanagement.BlockManager (PendingReconstructionBlocks.java:pendingReconstructionCheck(273)) - PendingReconstructionMonitor timed out blk_0_0Exception in thread "org.apache.hadoop.hdfs.server.blockmanagement.PendingReconstructionBlocks$PendingReconstructionMonitor@57baeedf" java.lang.NullPointerException at org.apache.hadoop.hdfs.server.blockmanagement.PendingReconstructionBlocks$PendingReconstructionMonitor.pendingReconstructionCheck(PendingReconstructionBlocks.java:274) at org.apache.hadoop.hdfs.server.blockmanagement.PendingReconstructionBlocks$PendingReconstructionMonitor.run(PendingReconstructionBlocks.java:248) at java.lang.Thread.run(Thread.java:748)
      

        Attachments

        1. HDFS-15026.001.patch
          2 kB
          Lisheng Sun
        2. HDFS-15026.002.patch
          2 kB
          Lisheng Sun

          Activity

            People

            • Assignee:
              leosun08 Lisheng Sun
              Reporter:
              leosun08 Lisheng Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: