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

NullPointerException in SnapshotTestingUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.7
    • 0.98.8, 0.99.2
    • test
    • None
    • Reviewed

    Description

      I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some tests in TestRestoreSnapshot... create a table and then invoke SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that regions have been assigned by the time it's invoked (which is not always the case).

      Attachments

        1. HBASE-12229.patch
          5 kB
          Dima Spivak
        2. HBASE-12229_v2.patch
          6 kB
          Dima Spivak
        3. HBASE-12229_v2.patch
          6 kB
          Dima Spivak
        4. HBASE-12229_v1.patch
          1 kB
          Dima Spivak
        5. HBASE-12229_master_v2.patch
          4 kB
          Dima Spivak
        6. HBASE-12229_master_v1.patch
          5 kB
          Dima Spivak
        7. HBASE-12229_master_v1.patch
          5 kB
          Michael Stack
        8. HBASE-12229_0.98_v3.patch
          4 kB
          Dima Spivak

        Activity

          People

            dimaspivak Dima Spivak
            dimaspivak Dima Spivak
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: