hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18858) Avoid NPE occurring in TestReplicationBase#tearDownAfterClass
Date Thu, 21 Sep 2017 18:38:02 GMT
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)

Mime
View raw message