[英]gremlin hangs with sigle node hbase,titan-all 0.4.4
我已經在其上設置了單節點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
提前致謝。
很多人陷在這個階段,甚至Google的Titan-Development小組也沒有回答查詢。如果沒有特定的理由使用Hbase,我建議您轉向Cassandra,然后繼續工作。 GL和HF。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.