[
https://issues.apache.org/jira/browse/HBASE-18473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106491#comment-16106491
]
Hudson commented on HBASE-18473:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3461 (See
[https://builds.apache.org/job/HBase-Trunk_matrix/3461/])
HBASE-18473 VC.listLabels() erroneously closes any connection. (anoopsamjohn:
rev 5c47cb5d491f78c00df0b09ed3899c9334c7fd85)
* (edit)
hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityClient.java
> VC.listLabels() erroneously closes any connection
> -------------------------------------------------
>
> Key: HBASE-18473
> URL: https://issues.apache.org/jira/browse/HBASE-18473
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 1.2.0, 2.0.0-alpha-1
> Reporter: Lars George
> Assignee: Anoop Sam John
> Labels: beginner
> Fix For: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-2
>
> Attachments: HBASE-18473.patch
>
>
> In HBASE-13358 the {{VisibilityClient.listLabels()}} was amended to take in a
> connection from the caller, which totally makes sense. But the patch forgot
> to remove the unconditional call to {{connection.close()}} in the {{finally}}
> block:
> {code}
> finally {
> if (table != null) {
> table.close();
> }
> if (connection != null) {
> connection.close();
> }
> }
> {code}
> Remove the second {{if}} completely.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)