Titan and TinkerPop 3.2

468 views
Skip to first unread message

Cecil New

unread,
Aug 23, 2016, 4:37:39 PM8/23/16
to Gremlin-users
The latest version of Titan is 1.0.0 and it uses TinkerPop 3.0.1-incubating. Is there a way to upgrade it to use the current 3.2?

Jason Plurad

unread,
Aug 23, 2016, 4:51:47 PM8/23/16
to Gremlin-users
Hi Cecil,

Yes, if you're willing to build it from source code. Dylan Bethune-Waddell submitted a pull request for 3.2 support. I was actually checking that PR against a fix that Marko pushed yesterday on 3.2.2-SNAPSHOT (it works).

You'll need Java 8 and Apache Maven 3. Here are some steps:

git clone https://github.com/thinkaurelius/titan.git
cd titan
git fetch origin pull
/1312/head:pr1312
git checkout pr1312
mvn clean install
-DskipTests=true -Dgpg.skip=true -Paurelius-release

# find the distribution under titan-dist/titan-dist-hadoop-2/target/titan-1.1.0-SNAPSHOT-hadoop2.zip


-- Jason

HadoopMarc

unread,
Aug 24, 2016, 3:06:47 PM8/24/16
to Gremlin-users
Hi Jason,

Thank you so much for the recipe above. My todo list has an item to find out how to build the mentioned pull request, but this will be easy now.

Marc

Jesse Sightler

unread,
Aug 24, 2016, 4:02:59 PM8/24/16
to gremli...@googlegroups.com
Is there any chance of an official release any time soon?

--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c50916d8-0423-4a1a-8681-a39408b2d825%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Cecil New

unread,
Sep 2, 2016, 3:30:52 PM9/2/16
to Gremlin-users
Gave it a try, but after fighting problems with our local settings.xml, I finally got the error below. Which is probably due to proxy/VM setup issues... Any idea when next version of Titan will be out with 3.2?


Could not transfer artifact com.github.jeremyh:jBCrypt:pom:jbcrypt-0.4 from/to jitpack.io (https://jitpack.io): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

Greg H

unread,
Sep 22, 2016, 2:45:00 PM9/22/16
to Gremlin-users
Just went through the steps to build this - works - tq

If I install and run the distribution in titan/titan-dist/titan-dist-hadoop-2/target/titan-1.1.0-SNAPSHOT-hadoop2.zip with default settings (./bin/titan start) everything starts normally, but my unit tests fail when creating a vertex with array type via gremlin server, ie 

g.addV( "name","vn", "read", read), where read is bound to the value  [ 'p1' ]
=>
Error: Property value [[p1]] is of type class java.util.ArrayList is not supported (Error 500)

g.addV( "name","vn", "read", ["p1"]) works in the gremlin console, and the above query with bound variable worked with my titan-1.0.0-hadoop1 installation running a standalone gremlin-server v3.2.

Does this sound like a sane result or might it be a config/classpath issue?   




On Tuesday, September 6, 2016 at 8:51:09 AM UTC-6, Stephen Mallette wrote:
My setup is Titan1.0.0 Hadoop with cassandra+elasticsearch and a Gremlin 3.2 server. 
Reply all
Reply to author
Forward
0 new messages