You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/08/23 21:47:53 UTC

[jira] [Created] (HBASE-9324) TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS

Jeffrey Zhong created HBASE-9324:
------------------------------------

             Summary: TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS
                 Key: HBASE-9324
                 URL: https://issues.apache.org/jira/browse/HBASE-9324
             Project: HBase
          Issue Type: Bug
          Components: test
            Reporter: Jeffrey Zhong
            Assignee: Jeffrey Zhong


The failures are due to a race condition that sub procedure could finish before the sub procedure is added into internal map ProcedureMember#subprocs. Below is the related code:

{code}
      future = this.pool.submit(subproc);
      synchronized (subprocs) {
        subprocs.put(procName, subproc);
      }
{code}
As you can see the above, that subproc could finish before {code}subprocs.put(procName, subproc);{code}. Therefore, the test will fail with the following error message:
{code}
procedure.ProcedureMember(189): Unexpected reached glabal barrier message for Sub-Procedure 'some op'
{code}




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira