You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/09/21 18:38:02 UTC
[jira] [Created] (HBASE-18858) Avoid NPE occurring in
TestReplicationBase#tearDownAfterClass
Chia-Ping Tsai created HBASE-18858:
--------------------------------------
Summary: Avoid NPE occurring in TestReplicationBase#tearDownAfterClass
Key: HBASE-18858
URL: https://issues.apache.org/jira/browse/HBASE-18858
Project: HBase
Issue Type: Bug
Components: test
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
Priority: Minor
Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-beta-1
{code}
public static void tearDownAfterClass() throws Exception {
htable2.close();
htable1.close();
admin.close();
utility2.shutdownMiniCluster();
utility1.shutdownMiniCluster();
}
{code}
If the setUpBeforeClass() fail, some members will be NULL. We need to ensures all resources are closed at the end of tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)