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

[0.94 UNIT TESTS] TestAssignmentManager fails frequently on CentOS 5

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.4
    • 0.94.4
    • Region Assignment, test
    • None
    • Reviewed

    Description

      TestAssignmentManager#testBalance() fails pretty frequently on CentOS 5 for 0.94. The root cause is that ClosedRegionHandler is executed by an executor, and before it finishes, the region transition is done for OPENING and OPENED.

      This seems to be just a test problem, not an actual bug, since the region server won't open the region unless it get's it from the assign call on ClosedRegionHandler.process().

      I've seen that HBASE-6109 has a fix for this already, will just backport those changes. This is 0.94 only.

      Attachments

        1. hbase-7398_v2.patch
          13 kB
          Enis Soztutar
        2. hbase-7398_v1.patch
          11 kB
          Enis Soztutar

        Activity

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

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment