java.nio.channels.OverlappingFileLockException当为使用lucene索引的一个顶点设置属性时

时间:2014-09-14 03:50:25

标签: graph-databases titan

使用lucene索引的一个顶点的set属性时获取以下错误:

ERROR [com.thinkaurelius.titan.graphdb.database.StandardTitanGraph] Error while commiting index mutations for transaction [2364] on index: search
com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend exception
at com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:44)
at com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:119)
at com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:100)
at com.thinkaurelius.titan.diskstorage.BackendTransaction.commitIndexes(BackendTransaction.java:124)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.commit(StandardTitanGraph.java:639)
at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1228)
at com.sfb.wsa.cd.uptake.graph.titan.model.vertex.access.TagDao.add(TagDao.java:32)
at com.sfb.wsa.cd.uptake.profiles.jobs.ImportProfileJob.main(ImportProfileJob.java:108)
Caused by: com.thinkaurelius.titan.diskstorage.PermanentBackendException: Could not create writer
at com.thinkaurelius.titan.diskstorage.lucene.LuceneIndex.getWriter(LuceneIndex.java:111)
at com.thinkaurelius.titan.diskstorage.lucene.LuceneIndex.mutate(LuceneIndex.java:146)
at com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:122)
at com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:119)
at com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)
at com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)
... 7 more
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\tmp\titan\wsa\emp\lucene\tagmixedIndex\write.lock: java.nio.channels.OverlappingFileLockException
at org.apache.lucene.store.Lock.obtain(Lock.java:89)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:710)
at com.thinkaurelius.titan.diskstorage.lucene.LuceneIndex.getWriter(LuceneIndex.java:108)
... 12 more
Caused by: java.nio.channels.OverlappingFileLockException
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:267)
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:164)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1078)
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1165)
at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:148)
at org.apache.lucene.store.Lock.obtain(Lock.java:100)
... 14 more

是一个luccene问题还是泰坦问题?有任何解决方法吗?

0 个答案:

没有答案