[
https://issues.apache.org/jira/browse/HBASE-15606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231650#comment-15231650
]
Samir Ahmic commented on HBASE-15606:
-------------------------------------
HBaseAdmin#getCompactionState() is changed since branch-1 let me see what can
be done there to limit connection creation.
> Limit creating zk connection in HBaseAdmin#getCompactionState() only to case
> when 'hbase:meta' is checked.
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-15606
> URL: https://issues.apache.org/jira/browse/HBASE-15606
> Project: HBase
> Issue Type: Improvement
> Components: Admin
> Affects Versions: 2.0.0
> Reporter: Samir Ahmic
> Assignee: Samir Ahmic
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-15606_v0.patch
>
>
> We are creating new zk connection for every call to this function if we are
> checking case of normal compaction. Connection is used to locate 'hbase:meta'
> table.
> Aim of this jira is to limit connection creation only to case when meta table
> is checked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)