【发布时间】:2015-06-05 10:54:24
【问题描述】:
我已经在上面设置了单节点 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');
我在网上搜索了这个问题,找到了一些解决方案,但无法理解。他们在讲一些关于 zookeeper 父级问题和 hbase-site.xml 中的 /hbase-unsecure 的内容。我一点也不喜欢 hbase-site.xml 中的 /hbase-unsecure。
我所有的 hadoop 、hbase 和 titan 文件都在 /usr/local 中,分别名为 hadoop、hbase-0.94 和 tital-all。
我正在使用 hadoop 2.6.0、hbase-0.94.27 和 titan-all 0.4.4
提前致谢。
【问题讨论】:
标签: cassandra hbase analytics apache-zookeeper titan