hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samir Ahmic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15599) Loading Master/table.jsp creates/destroys ZK connection
Date Thu, 07 Apr 2016 10:03:25 GMT

    [ 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 
CompactionState compactionState = admin.getCompactionState(table.getName());
 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

View raw message