hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6820) [WINDOWS] MiniZookeeperCluster should ensure that ZKDatabase is closed upon shutdown()
Date Fri, 09 Nov 2012 00:02:12 GMT

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

Hudson commented on HBASE-6820:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #253 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/253/])
    HBASE-6820. [WINDOWS] MiniZookeeperCluster should ensure that ZKDatabase is closed upon
shutdown() (Revision 1407287)

     Result = FAILURE
enis : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java

                
> [WINDOWS] MiniZookeeperCluster should ensure that ZKDatabase is closed upon shutdown()
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-6820
>                 URL: https://issues.apache.org/jira/browse/HBASE-6820
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>              Labels: windows
>             Fix For: 0.96.0
>
>         Attachments: hbase-6820_v1-0.94.patch, hbase-6820_v1-trunk.patch
>
>
> MiniZookeeperCluster.shutdown() shuts down the ZookeeperServer and NIOServerCnxnFactory.
However, MiniZookeeperCluster uses a deprecated ZookeeperServer constructor, which in turn
constructs its own FileTxnSnapLog, and ZKDatabase. Since ZookeeperServer.shutdown() does not
close() the ZKDatabase, we have to explicitly close it in MiniZookeeperCluster.shutdown().
> Tests effected by this are
> {code}
> TestSplitLogManager
> TestSplitLogWorker
> TestOfflineMetaRebuildBase
> TestOfflineMetaRebuildHole
> TestOfflineMetaRebuildOverlap
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message