【发布时间】:2018-11-14 15:22:59
【问题描述】:
我正在尝试将 titan(0.5.2) 与 hbase(0.98.6) 连接。
hadoop 和 hbase 我都启动了,我的 JPS 命令如下所示,
25824 HRegionServer
24227 NameNode
24403 DataNode
25557 HQuorumPeer
24778 ResourceManager
28412 Jps
25630 HMaster
25007 NodeManager
hbase-site.xml:
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2222</value>
</property>
titan-hbase.properties
storage.hostname=127.0.0.1
cache.db-cache = true
cache.db-cache-time = 180000
cache.db-cache-size = 0.5
我已经使用./titan.sh start ../conf/titan-hbase.properties这个命令启动了titan。
9841 RemoteMavenServer
20643 CassandraDaemon
9381 Main
29512 Jps
21132 Application
27278 Launcher
21071 Elasticsearch
并使用 gremlin 控制台进行连接,
gremlin> TitanFactory.build().set('storage.backend', 'hbase').set('storage.hostname', '127.0.0.1:2222').open()
但是我没有从 gremlin 控制台得到任何对此命令的响应。没有错误或堆栈跟踪。只是没有连接。你能帮帮我吗,我对这个使用 hbase 的巨头完全陌生。
【问题讨论】: