Hbase Standalone,
Hbase Quick Start :[url]http://hbase.apache.org/book.html#quickstart[/url][quote]2.2.1. Standalone HBase
This is the default mode. Standalone mode is what is described in the Section 1.2, “Quick Start” section. In standalone mode, HBase does not use HDFS -- it uses the local filesystem instead -- and it runs all HBase daemons and a local ZooKeeper all up in the same JVM. Zookeeper binds to a well known port so clients may talk to HBase.[/quote]
简言之:
Standalone 模式下是不需要hadoop的。
So,我将自己的安装过程祥诉一下:
JDK使用的是jdk1.6.0_34.
修改conf/hbase-site.xml,
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///tmp/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/tmp/zookeeper</value>
</property>
</configuration>
没动这个文件hbase-env.sh
然后就照官方文档 ./bin/start-hbase.sh 一切正常。
End :arrow:
PS.
在另外一台机器上安装过程中出现class not found Exception: with
研究了很久,都没找到原因。后来换了一台机器,按照上面的安装路线,一切正常。
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。