@AfterClass(alwaysRun = true) public void tearDown() throws Exception { if (this.client != null) { this.client.close(); } if (this.server != null) { this.server.shutDown(); } if (this.jobHistoryStore != null) { this.jobHistoryStore.close(); } if (this.testMetastoreDatabase != null) { this.testMetastoreDatabase.close(); } }