hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13731) TestReplicationAdmin should clean up MiniZKCluster resource
Date Thu, 21 May 2015 18:13:17 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554776#comment-14554776
] 

Enis Soztutar commented on HBASE-13731:
---------------------------------------

The patch applied cleanly when cherry-picked from branch-1. I just pushed to branch-1.1 and
branch-1.0 as well. 

> 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)

Mime
View raw message