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

TestBlockRecovery#testZeroLenReplicas fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.22.0
    • 0.22.0
    • test
    • None

    Description

      Testcase: testZeroLenReplicas took 10.577 sec
              Caused an ERROR
      
      Wanted but not invoked:
      datanodeProtocol.commitBlockSynchronization(
          blk_1000_2000,
          3000,
          0,
          true,
          true,
          []
      );
      -> at org.apache.hadoop.hdfs.server.datanode.TestBlockRecovery.testZeroLenReplicas(TestBlockRecovery.java:402)
      
      However, there were other interactions with this mock:
      -> at org.apache.hadoop.hdfs.server.datanode.DataNode.handshake(DataNode.java:519)
      
      Wanted but not invoked:
      datanodeProtocol.commitBlockSynchronization(
          blk_1000_2000,
          3000,
          0,
          true,
          true,
          []
      );
      -> at org.apache.hadoop.hdfs.server.datanode.TestBlockRecovery.testZeroLenReplicas(TestBlockRecovery.java:402)
      
      However, there were other interactions with this mock:
      -> at org.apache.hadoop.hdfs.server.datanode.DataNode.handshake(DataNode.java:519)
      
              at org.apache.hadoop.hdfs.server.datanode.TestBlockRecovery.testZeroLenReplicas(TestBlockRecovery.java:402)
      

      Attachments

        Activity

          People

            eli Eli Collins
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: