我是Hbase的初學者。我完全遵循http://hbase.apache.org/quickstart.html中的快速入門文檔,我希望以獨立版模式運行Hbase。在Ubuntu中部署Hbase獨立模式的問題
,我改變了HBase的-site.xml的一點:
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file://home/archer/HbaseData</value>
</property>
</configuration>
然後,我走進HBase的外殼和鍵入命令:
create 'test', 'cf'
了很長(約1小時的運轉後, )。它顯示
ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=7, exceptions:
Sun Mar 11 15:34:42 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 15:41:43 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 15:48:44 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 15:55:45 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 16:02:47 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 16:09:49 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
Sun Mar 11 16:16:53 PDT 2012, [email protected], org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test3,,00000000000000 after 7 tries.
任何人都可以幫助我嗎?
我使用的是Ubuntu 11.10和jdk7.0,而我之前沒有安裝任何hadoop或zookeeper。
我需要單獨安裝hadoop和zookeeper來運行獨立模式嗎? – Archer 2012-03-14 10:54:02
不,你不是我只是在說一點,只是嘗試把一個正斜槓,如果你想一個完整的基於hdfs的設置嘗試這個http://openwires.blogspot.in/p/hbase-setup.html – FUD 2012-03-14 11:46:48