:install org.apache.tinkerpop neo4j-gremlin 3.0.1-incubating
==>Loaded: [org.apache.tinkerpop, neo4j-gremlin, 3.0.1-incubating] - restart the console to use [tinkerpop.neo4j]
gremlin> graph = Neo4jGraph.open('/tmp/neo4j');
No such property: Neo4jGraph for class: groovysh_evaluate
I figured that the property Neo4jGraph was part of a newer version of the neo4j-gremlin plugin (e.g., 3.1.0-incubating). I did not pursue this further.
Next, I tried to install (and activate) the 3.1.0-incubating version of the neo4j-gremlin plugin and it loads just fine, but when I try to create a graph
using the command:
graph = Neo4jGraph.open('/tmp/neo4j')
I am presented with a stack trace as follows: (important details only)
...
Caused by: java.lang.VerifyError: class org.neo4j.index.impl.lucene.LuceneDataSource$1 overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:676)
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:786)
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:774)
at org.neo4j.index.lucene.LuceneKernelExtension.init(LuceneKernelExtension.java:52)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:483)
I suspect its a version issue with Lucene, but not sure which versions of the neo4j plugin is applicable to which version of gremlin.
Thoughts,
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2f07d941-80a4-4c5f-a2ee-09c29c3b0a1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seW_We%3DbvFZv6%2BFz5NKotm7Opp1VXjRxGNPXRyw_pndtkg%40mail.gmail.com.
git clone https://github.com/apache/incubator-tinkerpop.git
cd incubator-tinkerpop
mvn clean install -DskipTests -DincludeNeo4j
I actually tried this and the build completed successfully, but I expected when I started gremlin-console that the Neo4J Plugin would be installed already.
Since the neo4J plugin wasn't installed as part of the build, I tried running :install against the snapshot version of neo4j that is in my local .m2 repo and got the following,
// executed in gremlin console
:install org.apache.tinkerpop neo4j-gremlin 3.2.1-SNAPSHOT
// console output --
WARN org.apache.tinkerpop.gremlin.groovy.util.DependencyGrabber - Detected a non-standard Gremlin directory structure during install. Expecting a 'lib' directory sibling to 'ext'. This message does not necessarily imply failure, however the console requires a certain directory structure for proper execution. Altering that structure can lead to unexpected behavior.
==>java.lang.RuntimeException: Error grabbing Grapes -- [download failed: org.apache.commons#commons-lang3;3.3.2!commons-lang3.jar]
I believe I have my grapeConfig.xml configured correctly but maybe I am missing something?
J.D.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/b76e67f4-edf5-4fff-9a69-0eb700e2788b%40googlegroups.com.
cd incubator-tinkerpop
mvn clean install -DskipTests -DincludeNeo4j
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/b76e67f4-edf5-4fff-9a69-0eb700e2788b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/25c3ee86-6ce6-411e-8c7d-caa9169abedc%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/21c1ba10-4b4f-4fec-801b-f87dbc9e86e4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/66d2622b-fb89-43ef-a081-52ac14f6079a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/66d2622b-fb89-43ef-a081-52ac14f6079a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/66589955-b4f4-4806-a9f8-ed586887de42%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d7376fce-88de-46fb-b302-b7e34321057b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2e1ca1ec-2049-4a7e-815a-7da98b35af15%40googlegroups.com.