gremlin shell 在打开连接后挂起

gremlin shell hangs after opening a connection

我的开发环境是 Hadoop 2.6.0 HBase 0.98.10.1-hadoop2 titan 0.5.3

我试图通过

打开一个连接
 conf = new BaseConfiguration();
 conf.setProperty("storage.backend","hbase");
 conf.setProperty("storage.hostname","127.0.0.1");
 conf.setProperty("storage.hbase.ext.hbase.zookeeper.property.clientPort","2181")
 conf.setProperty("storage.hbase.table","smart_titan")
 g = TitanFactory.open(conf);

之后shell不释放控制, 我验证了 zookeeper 日志,一切看起来都正常会话建立。

关于此的任何指示...!!!

解决了问题,默认情况下 titan 建立到 znode /hbase 的连接

设置此 属性 解决了问题。

   conf.setProperty("storage.hbase.ext.zookeeper.znode.parent","/hbase-unsecure")