Duo Zhang created HBASE-20362:

TestMasterShutdown.testMasterShutdownBeforeStartingAnyRegionServer is flaky
                 Key: HBASE-20362
                 URL: https://issues.apache.org/jira/browse/HBASE-20362
             Project: HBase
          Issue Type: Bug
            Reporter: Duo Zhang

    Thread shutdownThread = new Thread("Shutdown-Thread") {
      public void run() {
        LOG.info("Before call to shutdown master");
        try {
          try (Connection connection =
              ConnectionFactory.createConnection(util.getConfiguration())) {
            try (Admin admin = connection.getAdmin()) {
          LOG.info("After call to shutdown master");
        } catch (Exception e) {


In the output for a failed running, we only have 'Before call to shutdown 
master' but no 'After call to shutdown master', so I think there must be 
something wrong when calling admin.shutdown, but in the catch block below we 
just ignore the exception.

This message was sent by Atlassian JIRA

Reply via email to