hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangduo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13040) Possible failure of TestHMasterRPCException
Date Fri, 13 Feb 2015 13:49:12 GMT
zhangduo created HBASE-13040:

             Summary: Possible failure of TestHMasterRPCException
                 Key: HBASE-13040
                 URL: https://issues.apache.org/jira/browse/HBASE-13040
             Project: HBase
          Issue Type: Bug
          Components: test
            Reporter: zhangduo
            Assignee: zhangduo

When addressing HBASE-13011, TestHMasterRPCException failed twice in PreCommit Build.

I found that the test itself has a problem. We start a HMaster, and then we continue calling
isMasterRunning and expected a ServerNotRunningYetException.

But it is possible that when we connect to HMaster, it has already finished initialization,
and we just get a 'true' response instead of an Exception.(Just add a 'Thread.sleep(1000);'
after 'HMaster hm = new HMaster(conf, cp);', you can get a stable failure).

This message was sent by Atlassian JIRA

View raw message