You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/05/21 19:28:17 UTC
[jira] [Commented] (HBASE-13731) TestReplicationAdmin should clean
up MiniZKCluster resource
[ https://issues.apache.org/jira/browse/HBASE-13731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554693#comment-14554693 ]
Ted Yu commented on HBASE-13731:
--------------------------------
Mind attaching patch for branch-1.1 ?
Thanks
> TestReplicationAdmin should clean up MiniZKCluster resource
> -----------------------------------------------------------
>
> Key: HBASE-13731
> URL: https://issues.apache.org/jira/browse/HBASE-13731
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.0, 1.1.0, 1.2.0
> Reporter: Stephen Yuan Jiang
> Assignee: Stephen Yuan Jiang
> Priority: Trivial
> Fix For: 2.0.0, 1.2.0, 1.1.1
>
> Attachments: HBASE-13731.patch
>
>
> org.apache.hadoop.hbase.client.replication.TestReplicationAdmin Unit test has a @BeforeClass component to start MiniZKCluster, but it does not have a @AfterClass component to shut down MiniZKCluster and clean up the resources from MiniZKCluster. In Jenkins machine that continuously run tests, the resource leak could affect other tests.
> The solution is trivial.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)