Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17777

TestMemstoreLAB#testLABThreading runs too long for a small test

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • test
    • None
    • Reviewed

    Description

      While working on ChunkCreator/ChunkMap found that the test in TestMSLAB#testLABThreading() runs for almost 5 mins and the whole test is under smallTest category.
      The reason is that we are creating 35*2MB chunks from MSLAB. We try writing data to these chunks until they are 50MB in size.
      And while verifying in order to check if the chunks are not overwritten/overlapped we verify the content of the buffers.
      So we actually keep comparing 50MB buffer n number of times. I suggest we change this in a way that at max we create chunks whose size is totally at 1MB or may be even lesser and write cells which are smaller in size. By doing this we can drastically reduce the run time of this test. May be something less than 1 min.

      Attachments

        1. HBASE-17777_1.patch
          3 kB
          ramkrishna.s.vasudevan
        2. HBASE-17777_2.patch
          3 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: