当我通过Gremlin控制台连接到Titan时,它会说。。。titangraph[cassandra:127.0.0.1]
然而,Rexster说。。。titangraph[cassandra:null]
,即使我可以浏览同一组顶点。
为什么会这样?Rexster让它看起来好像还没有成功连接。
此消息表示Cassandra没有正确启动。
尝试用以下命令启动Titan:
titan.sh -c cassandra-es start
查看/conf
以获取其他配置文件。
除非你真的必须这样做,否则我强烈建议安装Titan 0.5.0,它具有许多有用的功能。
如果您从图形数据库和Titan开始,我建议尝试使用单机集群或Berkeley DB作为存储后端。你可能还不需要卡桑德拉。
你也可以看看Titan/Orelius的官方邮件列表,我知道你遇到的问题以前已经讨论过了:https://groups.google.com/forum/#!论坛/aureliusgraphs。您可以在那里搜索资源(例如,https://groups.google.com/d/msg/aureliusgraphs/bviB6E5TZ-A/TJxQv0U7WQEJ)。
同时,您可以在Node.js中尝试Titanv0.5.0,方法是通过HTTP连接https://github.com/gulthor/grex(HTTP客户端)。建议通过HTTP(TinkerPop2.x)或WebSocket(在即将推出的TinkerPop3中,Titan将在未来版本中支持它)连接到Rexster。