【发布时间】:2013-09-24 02:58:09
【问题描述】:
我用 HBase 设置了 Titan。
我删除了图中的所有顶点
全部删除后显示为空。
gremlin> g.V.count()
==>0
但是如果我重新登录titan,那么图中会有一堆空顶点
gremlin> g.V.count()
==>85267
我检查一个顶点的值,它是空的 gremlin> g.v(840012).map()
空顶点是什么原因?我怎样才能彻底清洁它们?
【问题讨论】:
-
我在 cassandra 中看到了幻像顶点(早已修复),但在 hbase 中没有听说过这种行为。你用的是什么版本的泰坦? 0.3.2?
-
是的,我使用的是 Titan 0.3.2,hbase 0.94.6-cdh4.3.0
-
我试过 g.V.remove(); g.commit();然后我收到以下错误 13/09/19 00:51:24 错误一致键.ConsistentKeyLockTransaction: 锁过期: LockClaim [backer=com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLockStore@762f6f82, key=0x0-0-0 -0-0-7-182-136, col=0x0-135, expectedValue=0x128-61-16-195] (txn=com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLockTransaction@21811d3)
-
你有 HBase 集群还是只有一个实例?