2016-07-25 58 views
0

我無法在Hbase和Apache Drill之間創建連接。我無法理解問題是使用Hbase還是使用Apache鑽取。Hbase和apache鑽取存儲插件

我可以在Drill.Here中創建存儲插件,這是我給出的配置。

{ 
     "type": "hbase", 
     "config": { 
     "hbase.zookeeper.quorum": "localhost", 
     "hbase.zookeeper.property.clientPort": "2181" 
     }, 
     "size.calculator.enabled": false, 
     "enabled": true 
    } 

鑽的GUI返回success.But當我嘗試從鑽查詢它,我越來越多errors.Right現在我遇到下面的錯誤。

Error: SYSTEM ERROR: IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator 

我粘貼HBase的-site.xml中配置well.I已經得到中/ HBase的等等等等錯誤一些節點之前,因此發表意見的zookeeper.znode.parent參數。

<configuration> 
     //Here you have to set the path where you want HBase to store its files. 
     <property> 
      <name>hbase.rootdir</name> 
      <value>hdfs://localhost:9000/hbase</value> 
     </property> 

     //Here you have to set the path where you want HBase to store its built in zookeeper files. 
     <property> 
      <name>hbase.zookeeper.property.dataDir</name> 
      <value>/usr/local/Hbase/zookeeper</value> 
     </property> 
     <property> 
     <name>hbase.cluster.distributed</name> 
     <value>false</value> 
     </property> 
     <!--<property> 
      <name>zookeeper.znode.parent</name> 
      <value>/hbase-unsecure</value> 
     </property>--> 
    </configuration> 

我試圖連接的Hbase版本是1.2.2,並且hbase,drill都存在於同一臺機器上。

請幫我解決這個問題,如果有人已經面對過這個問題。

+0

Drill version .....? –

+0

我使用的鑽頭版本是1.7.0 – Avinash

回答