我已经设置了单个节点的Hadoop和HBase的到它。我也在它上面设置了泰坦。但是,只要我启动gremlin并执行TitanFactory.open(conf),它就会挂起而没有任何反应。小鬼与事务所节点HBase的挂起,泰坦所有0.4.4
我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-unsecure的问题。我没有像hbase-site.xml中的/ hbase-unsecure。
我所有的Hadoop,HBase的和Titan文件在/ usr /本地下名字的Hadoop,HBase的-0.94和tital,分别所有。
我使用Hadoop 2.6.0,HBase的-0.94.27和土卫六都提前0.4.4
感谢。