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-14485) ConnectionImplementation leaks on construction failure
Date Fri, 02 Oct 2015 02:03:27 GMT

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

Hudson commented on HBASE-14485:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #6863 (See [https://builds.apache.org/job/HBase-TRUNK/6863/])
HBASE-14485 ConnectionImplementation leaks on construction failure (matteo.bertozzi: rev 2e8575bb0ff84c2c3dbefd166213124abe86cdd1)
* hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegistryFactory.java


> ConnectionImplementation leaks on construction failure
> ------------------------------------------------------
>
>                 Key: HBASE-14485
>                 URL: https://issues.apache.org/jira/browse/HBASE-14485
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.0, 1.2.0, 1.0.1.1, 1.1.2, 1.3.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-14485-v0.patch, HBASE-14485-v1.patch, HBASE-14485-v1_branch-1.patch
>
>
> If an exception is thrown in the constructor of ConnectionImplementation we will have
a leak zkRegistry, rpcClient, ...
> an example was clusterId parse error, causing zk (registry) leaks
> {noformat}
> org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
> 	... 22 more
> Caused by: java.lang.ExceptionInInitializerError
> 	at org.apache.hadoop.hbase.ClusterId.parseFrom(ClusterId.java:64)
> 	at org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:75)
> 	at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:86)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:850)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message