小精灵挂起单节点hbase,泰坦全0.4.4

x7yiwoj4  于 2021-06-09  发布在  Hbase
关注(0)|答案(1)|浏览(253)

我已经在上面设置了单节点hadoop和hbase。我也在上面安装了泰坦。但一旦我启动gremlin并执行titanfactory.open(conf),它就会挂起,什么都不会发生。
我的titan-hbase.properties如下:

storage.backend=hbase
storage.hostname=127.0.0.1
storage.port=2181
cache.db-cache = true
cache.db-cache-clean-wait = 20
cache.db-cache-time = 180000
cache.db-cache-size = 0.5

我的titan-hbase-es.properties如下:

storage.backend=hbase
storage.hostname=127.0.0.1
storage.port=2181

# storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure

cache.db-cache = true
cache.db-cache-clean-wait = 20
cache.db-cache-time = 180000
cache.db-cache-size = 0.5

# storage.index.search.backend=elasticsearch

# storage.index.search.hostname=127.0.0.1

# storage.index.search.client-only=true

storage.index.search.backend=elasticsearch
storage.index.search.directory=../db/es
storage.index.search.client-only=false
storage.index.search.local-mode=true

我在gremlin中使用了以下命令,之后它被挂起:

g = TitanFactory.open('conf/titan-hbase-es.properties');

我在网上搜索这个问题,找到了一些解决办法,但不明白。他们在hbase-site.xml中讲述了关于zookeeper父级问题和/hbase不安全的内容。我不喜欢hbase-site.xml中的/hbase unsecure。
我所有的hadoop、hbase和titan文件都在/usr/local中,分别命名为hadoop、hbase-0.94和tital-all。
我使用的是hadoop2.6.0、hbase-0.94.27和titan都是0.4.4
提前谢谢。

lbsnaicq

lbsnaicq1#

很多人停留在这个阶段,很多时候,甚至谷歌集团的泰坦发展不回答问题,如果没有具体的理由使用hbase,我建议你转向Cassandra,继续你的工作。德国劳埃德船级社。

相关问题