A question regarding using blueprints for loading nt files into OrientDb using the SailLoader

33 views
Skip to first unread message

NewUser

unread,
Mar 25, 2015, 3:37:12 AM3/25/15
to gremli...@googlegroups.com
Hi I am facing this exception while loading a .nt file into orientDB using the SailLoader (https://github.com/tinkerpop/blueprints/blob/master/blueprints-graph-sail/src/main/java/com/tinkerpop/blueprints/oupls/sail/SailLoader.java) by tinkerpop:

15373829 statements out of 15373833 get loaded and only then I encounter this exception. I have seen in some discussion where Lvca commented that it could be because of conflicting jars. I am using maven for dependency management so I have also attached a copy of the pom file:

The exception:

loaded 15373829 statements in 9594289ms


Exception in thread "main" java.lang.NoSuchMethodError: com.orientechnologies.common.concur.resource.OResourcePool.getAllResources()Ljava/util/Collection;

at com.orientechnologies.orient.client.remote.ORemoteConnectionManager.closePool(ORemoteConnectionManager.java:194)

at com.orientechnologies.orient.client.remote.ORemoteConnectionManager.closePool(ORemoteConnectionManager.java:190)

at com.orientechnologies.orient.client.remote.OStorageRemote.close(OStorageRemote.java:302)

at com.orientechnologies.orient.core.storage.OStorageAbstract.close(OStorageAbstract.java:95)

at com.orientechnologies.orient.client.remote.OStorageRemoteThread.close(OStorageRemoteThread.java:195)

at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.close(ODatabaseDocumentTx.java:1082)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1152)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1124)

at com.tinkerpop.blueprints.oupls.sail.GraphSail.shutDownInternal(GraphSail.java:171)

at org.openrdf.sail.helpers.SailBase.shutDown(SailBase.java:230)

at com.master.thesis.Load.main(Load.java:54)



Major dependencies from the pom:


<dependency>

        <groupId>com.tinkerpop.blueprints</groupId>

        <artifactId>blueprints-graph-sail</artifactId>

        <version>2.6.0</version>

</dependency>


<dependency>

        <groupId>com.tinkerpop.blueprints</groupId>

        <artifactId>blueprints-sail-graph</artifactId>

        <version>2.6.0</version>

</dependency>

<dependency>

        <groupId>com.tinkerpop.blueprints</groupId>

        <artifactId>blueprints-core</artifactId>

        <version>2.6.0</version>

</dependency>

<dependency>

        <groupId>org.openrdf.sesame</groupId>

        <artifactId>sesame-repository-sail</artifactId>

        <version>2.7.15</version>

</dependency>

<dependency>

        <groupId>org.openrdf.sesame</groupId>

        <artifactId>sesame-runtime</artifactId>

        <version>2.7.15</version>

</dependency>

<dependency>

        <groupId>org.xerial.snappy</groupId>

        <artifactId>snappy-java</artifactId>

        <version>1.1.1.6</version>

</dependency>

<dependency>

        <groupId>org.slf4j</groupId>

        <artifactId>slf4j-simple</artifactId>

        <version>1.7.10</version>

</dependency>

<dependency>

        <groupId>com.orientechnologies</groupId>

        <artifactId>orient-commons</artifactId>

        <version>2.0-M1</version>

</dependency>

<dependency>

        <groupId>com.orientechnologies</groupId>

        <artifactId>orientdb-graphdb</artifactId>

        <version>2.0.5</version>

</dependency>

<dependency>

        <groupId>com.orientechnologies</groupId>

        <artifactId>orientdb-core</artifactId>

        <version>2.0.5</version>

</dependency>

<dependency>

        <groupId>com.orientechnologies</groupId>

        <artifactId>orientdb-client</artifactId>

        <version>2.0.5</version>

</dependency>

<dependency>

        <groupId>com.orientechnologies</groupId>

        <artifactId>orientdb-enterprise</artifactId>

        <version>2.0.5</version>

</dependency>


I have been stuck here for a week trying to change the depedency versions any suggestions or guidance would be a great help!!

NewUser

unread,
Mar 25, 2015, 3:38:32 AM3/25/15
to gremli...@googlegroups.com
This is the pom file.. sorry I forgot to attach it with the earlier post
pom.rtf
Reply all
Reply to author
Forward
0 new messages