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

stack commented on HBASE-15606:
-------------------------------

+1

Was going to ask for a test but the fix is minor and obvious, its good by me. 
Will wait on hadoopqa report before committing.

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

Reply via email to