我正在尝试在Amazon EMR(2.4 + 0.94.18)上运行TitanDB(0.54)。当我试图与gremlin连接时,它会卡住。
``` ] $ bin / gremlin.sh
\,,,/
(o o)
----- OOOO - (_) - - - - - OOOO 的gremlin> g = TitanFactory.open(“hbase:localhost”) ```
如果我查看HBase日志,我可以看到发生了一些事情,直到我杀死了gremlin。日志正在填充:
14:23:47.913 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x39c zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:47.913 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x39c zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.114 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x39d zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.114 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x39d zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.315 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x39e zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.315 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x39e zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.516 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x39f zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.516 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x39f zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.717 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x3a0 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.717 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x3a0 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.918 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x3a1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:48.918 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x3a1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.119 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x3a2 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.119 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x3a2 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.320 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x3a3 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.320 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x3a3 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.521 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - Processing request:: sessionid:0x14d2975bed7003b type:getData cxid:0x3a4 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
14:23:49.521 [SyncThread:0] DEBUG o.a.z.server.FinalRequestProcessor - sessionid:0x14d2975bed7003b type:getData cxid:0x3a4 zxid:0xfffffffffffffffe txntype:unknown reqpath:/hbase/meta-region-server
这是第一次运行,我假设Titan正在尝试构建一个表但由于某种原因它不起作用。
答案 0 :(得分:0)
解决方案是使用hbase
而不是hbase-client
版0.94.18
重新编译Titan