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

Possible failure of TestHMasterRPCException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 2.0.0
    • 1.0.1, 1.1.0, 2.0.0
    • test
    • None
    • Reviewed

    Description

      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).

      Attachments

        1. HBASE-13040.patch
          9 kB
          Duo Zhang
        2. HBASE-13040_2.patch
          6 kB
          Duo Zhang
        3. HBASE-13040_1.patch
          9 kB
          Duo Zhang

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: