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

TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      From https://builds.apache.org/job/HBase-1.1/27/testReport/org.apache.hadoop.hbase.regionserver/TestPerColumnFamilyFlush/testCompareStoreFileCount/ :

      java.lang.NullPointerException: null
      	at org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush.testCompareStoreFileCount(TestPerColumnFamilyFlush.java:542)
      

      The exception was due to getRegionWithName() returning null:

          getRegionWithName(TABLENAME).getFirst();
      

      The new table was not available yet.

      Attachments

        1. 12764-001.patch
          0.8 kB
          Ted Yu
        2. 12764-002.patch
          0.9 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: