You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Alex Newman (JIRA)" <ji...@apache.org> on 2014/11/26 00:13:13 UTC

[jira] [Commented] (HBASE-12580) Zookeeper instantiated even though we might not need it in the shell

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

Alex Newman commented on HBASE-12580:
-------------------------------------

This seems to be the offender. Why do we need our own watcher?

    def initialize(configuration, formatter)
      @admin = org.apache.hadoop.hbase.client.HBaseAdmin.new(configuration)
      connection = @admin.getConnection()
      @conf = configuration
      @zk_wrapper = org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.new(configuration,
        "admin", nil)
      zk = @zk_wrapper.getRecoverableZooKeeper().getZooKeeper()
      @zk_main = org.apache.zookeeper.ZooKeeperMain.new(zk)
      @formatter = formatter
    end


> Zookeeper instantiated even though we might not need it in the shell
> --------------------------------------------------------------------
>
>                 Key: HBASE-12580
>                 URL: https://issues.apache.org/jira/browse/HBASE-12580
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Alex Newman
>




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