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

RIT map in RS not getting cleared while region opening

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.6
    • 0.94.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

      While opening the region in RS after adding the region to regionsInTransitionInRS if tableDescriptors.get() throws exception the region wont be cleared from regionsInTransitionInRS. So next time if it tries to open the region in the same RS it will throw the RegionAlreadyInTransitionException.

      if swap the below statement this issue wont come.

      this.regionsInTransitionInRS.putIfAbsent(region.getEncodedNameAsBytes(),true);
      HTableDescriptor htd = this.tableDescriptors.get(region.getTableName());
      

      Attachments

        1. HBASE-5857_0.92.patch
          4 kB
          Chinna Rao Lalam
        2. HBASE-5857_94.patch
          3 kB
          Chinna Rao Lalam
        3. HBASE-5857_trunk.patch
          3 kB
          Chinna Rao Lalam
        4. HBASE-5857_0.92.1.patch
          3 kB
          Chinna Rao Lalam
        5. HBASE-5857_0.94.1.patch
          3 kB
          Chinna Rao Lalam
        6. HBASE-5857_trunk.1.patch
          3 kB
          Chinna Rao Lalam
        7. HBASE-5857_trunk.1.patch
          3 kB
          Michael Stack
        8. HBASE-5857_trunk.2.patch
          3 kB
          Michael Stack

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chinnalalam Chinna Rao Lalam
            chinnalalam Chinna Rao Lalam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment