# File lib/big_record/connection_adapters/hbase_adapter.rb, line 7
    def self.hbase_connection(config)
      begin
        require 'big_record_driver'
      rescue LoadError => e
        puts "[BigRecord] bigrecord-driver is needed for HbaseAdapter. Install it with: gem install bigrecord-driver"
        raise e
      end

      config = config.symbolize_keys

      zookeeper_host          = config[:zookeeper_host]
      zookeeper_client_port   = config[:zookeeper_client_port]
      drb_host                = config[:drb_host]
      drb_port                = config[:drb_port]

      hbase = BigRecord::Driver::Client.new(config)

      ConnectionAdapters::HbaseAdapter.new(hbase, logger, [zookeeper_host, zookeeper_client_port], config)
    end