Hi,
You use data structure which was dropped in 1.7-rc2

Could you use this release instead.


On Sun, Apr 13, 2014 at 8:31 PM, Marc Tigges <[email protected]>wrote:

> Hallo,
>
> right now im trying to import freebase data dump into my orientdb using
> java and:
>
> <dependency>
>     <groupId>com.orientechnologies</groupId>
>     <artifactId>orientdb-graphdb</artifactId>
>     <version>1.6.5</version>
> </dependency>
>
> I use an transactional graph to create all my vertices and edges and i
> always
> gather 1000 operations before i commit all changes to the database.
>
> After an hour of importing the data i got this error:
>
> Exception in thread "main"
> com.orientechnologies.orient.core.exception.ODatabaseException: Error on
> saving record in cluster #125
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:855)
>  at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:332)
> at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.saveRecord(OTransactionOptimistic.java:294)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:270)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:38)
>  at
> com.orientechnologies.orient.core.record.ORecordAbstract.save(ORecordAbstract.java:312)
> at
> com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1337)
>  at
> com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1326)
> at
> com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1315)
>  at
> com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:78)
> at
> com.orientechnologies.orient.core.type.tree.OMVRBTreeRID.saveAllNewEntries(OMVRBTreeRID.java:574)
>  at
> com.orientechnologies.orient.core.type.tree.provider.OMVRBTreeRIDProvider.toStream(OMVRBTreeRIDProvider.java:135)
> at
> com.orientechnologies.orient.core.type.tree.OMVRBTreeRIDSet.toStream(OMVRBTreeRIDSet.java:182)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.fieldToStream(ORecordSerializerCSVAbstract.java:370)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toString(ORecordSerializerSchemaAware2CSV.java:279)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.toStream(ORecordSerializerStringAbstract.java:92)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toStream(ORecordSerializerSchemaAware2CSV.java:518)
>  at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:127)
> at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:122)
>  at
> com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:391)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:766)
>  at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:332)
> at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.saveRecord(OTransactionOptimistic.java:294)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:270)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:257)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:38)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.linkToStream(ORecordSerializerCSVAbstract.java:799)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.fieldToStream(ORecordSerializerCSVAbstract.java:272)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toString(ORecordSerializerSchemaAware2CSV.java:279)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.toStream(ORecordSerializerStringAbstract.java:92)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toStream(ORecordSerializerSchemaAware2CSV.java:518)
>  at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:127)
> at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:122)
>  at
> com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:391)
> at
> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commitEntry(OLocalPaginatedStorage.java:1504)
>  at
> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1447)
> at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:178)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115)
> at
> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:454)
>  at
> com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:68)
> at
> de.hof.iisys.relationExtraction.importer.graph.GraphOperationsDAO.commitGraph(GraphOperationsDAO.java:104)
>  at
> de.hof.iisys.relationExtraction.importer.graph.GraphOperationsDAO.inkrementStatementCounter(GraphOperationsDAO.java:223)
> at
> de.hof.iisys.relationExtraction.importer.graph.GraphOperationsDAO.createEdge(GraphOperationsDAO.java:215)
>  at
> de.hof.iisys.relationExtraction.importer.FileImporterFreebase.importAllInstances(FileImporterFreebase.java:158)
> at
> de.hof.iisys.relationExtraction.importer.FileImporterFreebase.importFile(FileImporterFreebase.java:59)
>  at de.hof.iisys.relationExtraction.importer.main.Main.main(Main.java:44)
> Caused by: java.lang.Error: Maximum lock count exceeded
> at
> java.util.concurrent.locks.ReentrantReadWriteLock$Sync.fullTryAcquireShared(ReentrantReadWriteLock.java:531)
>  at
> java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:491)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1281)
>  at
> java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:731)
> at
> com.orientechnologies.common.concur.lock.OModificationLock.requestModificationLock(OModificationLock.java:45)
>  at
> com.orientechnologies.orient.core.index.OIndexAbstract.acquireModificationLock(OIndexAbstract.java:1084)
> at
> com.orientechnologies.orient.core.index.OClassIndexManager.acquireModificationLock(OClassIndexManager.java:556)
>  at
> com.orientechnologies.orient.core.index.OClassIndexManager.checkIndexesAndAquireLock(OClassIndexManager.java:522)
> at
> com.orientechnologies.orient.core.index.OClassIndexManager.onRecordBeforeUpdate(OClassIndexManager.java:129)
>  at
> com.orientechnologies.orient.core.hook.ODocumentHookAbstract.onTrigger(ODocumentHookAbstract.java:263)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.callbackHooks(ODatabaseRecordAbstract.java:1065)
>  at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:313)
> at
> com.orientechnologies.orient.core.tx.OTransactionOptimistic.saveRecord(OTransactionOptimistic.java:294)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:270)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:257)
>  at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:38)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.linkToStream(ORecordSerializerCSVAbstract.java:799)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.fieldToStream(ORecordSerializerCSVAbstract.java:272)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toString(ORecordSerializerSchemaAware2CSV.java:279)
>  at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.toStream(ORecordSerializerStringAbstract.java:92)
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toStream(ORecordSerializerSchemaAware2CSV.java:518)
>  at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:127)
> at
> com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract.toStream(ORecordSchemaAwareAbstract.java:122)
>  at
> com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:391)
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:766)
>  ... 45 more
>
>
> Unfortunately i have absolutely no idea how to resolve this problem. I
> dont even understand what the problem is about.
>
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to