10分钟Hbase standalone 单机安装

首先看了下这个篇文章 http://hbase.apache.org/book/quickstart.html,按照步骤完成。

注意在ubuntn下有一个小问题:

http://hbase.apache.org/book/os.html2.2.3. Loopback IP

HBase expects the loopback IP address to be 127.0.0.1. Ubuntu and some other distributions, for example, will default to 127.0.1.1 and this will cause problems for you.

/etc/hosts should look something like this:

            127.0.0.1 localhost
            127.0.0.1 ubuntu.ubuntu-domain ubuntu

猜你喜欢

转载自sesame-test.iteye.com/blog/1445612