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

Admin#isTableAvailable returns incorrect result before daughter regions are opened

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.4.0, 1.3.2, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Admin#isTableAvailable checks if it can getServerName for the meta entries it reads. During the time of split server location are added to the meta entries in MetaTableAccessor#splitRegion although the description of the method says "Does not add the location information to the daughter regions since they are not open yet.". At this point during the split daughter regions are not actually open, so we can get to a state where parent is offline, daughters are not yet open but isTableAvailable returns true.

      Attachments

        1. HBASE-18796.branch-1.001.patch
          3 kB
          Abhishek Singh Chouhan
        2. HBASE-18796.branch-1.001.patch
          3 kB
          Abhishek Singh Chouhan
        3. HBASE-18796.branch-1.002.patch
          5 kB
          Abhishek Singh Chouhan
        4. HBASE-18796.master.001.patch
          4 kB
          Abhishek Singh Chouhan
        5. HBASE-18796.branch-1.003.patch
          8 kB
          Abhishek Singh Chouhan
        6. HBASE-18796-addendum.master.patch
          2 kB
          Abhishek Singh Chouhan
        7. HBASE-18796-addendum.branch-1.patch
          1 kB
          Abhishek Singh Chouhan

        Activity

          People

            abhishek.chouhan Abhishek Singh Chouhan
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: