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

Samir Ahmic commented on HBASE-15599:
-------------------------------------

[~ndimiduk] i have notice same behavior on master branch. After some digging i 
have found that connection to zookeeper is created by 
{code}
CompactionState compactionState = admin.getCompactionState(table.getName());
{code} 
 in table.jsp. 
We are always creating zookeeper connection in  admin#getCompactionState() in 
order to check compaction state of 'hbase:meta' table. We can change this to 
create zk connection only in case when we are checking 'hbase:meta table'.

I will create new ticket to add this change to admin#getCompactionState() for 
master branch.


> Loading Master/table.jsp creates/destroys ZK connection
> -------------------------------------------------------
>
>                 Key: HBASE-15599
>                 URL: https://issues.apache.org/jira/browse/HBASE-15599
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.1.2
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> Noticed while tailing master log and browsing master WebUI: refreshing 
> table.jsp results in ZK connection logged. JSP should probably be reusing 
> existing connection.



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

Reply via email to