【问题标题】:gremlin shell hangs after opening a connectiongremlin shell 在打开连接后挂起
【发布时间】:2015-02-17 09:17:51
【问题描述】:

我的开发环境是 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 日志,一切看起来都是正常的会话建立。

任何关于这个的指针......!!!

【问题讨论】:

    标签: hadoop hbase apache-zookeeper titan gremlin


    【解决方案1】:

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

    设置此属性解决了问题。

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

    【讨论】: