This clone provides the necessary changes to build Apache TinkerPop 3.1.0-incubating against the HDP-2.3.2.0-2950 HortonWorks Data Platform distribution. This repo will also provide room for other combinations of Apache TinkerPop Incubating releases and Hortonworks HDP releases. Also combinations of Apache TinkerPop Incubating releases and releases of other major open source Hadoop distributions are welcome.
NB Currently, only branch 3.1.0-hdp-2.3.2.0-2950 is relevant in this cloned repo.
See also similiar work for hdp-2.3.4 on: https://github.com/pluradj/ambari-vagrant/blob/tp3/ubuntu14.4/tp3/SparkGraphComputer.md
TinkerPop3 provides graph computing capabilities for both graph databases (OLTP) and graph analytic systems (OLAP).
TinkerPop uses Maven and requires Java 1.8.0_40+
for proper building and proper operations. To build, execute unit tests and package Gremlin Console/Server run:
mvn clean install
The zip distributions can be found in the following directories:
-
gremlin-server/target
-
gremlin-console/target
Please see the CONTRIBUTING.asciidoc
file for more detailed information and options for building, test running and developing TinkerPop.
$ bin/gremlin.sh
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: tinkerpop.server
plugin activated: tinkerpop.utilities
plugin activated: tinkerpop.tinkergraph
gremlin> graph = TinkerFactory.createModern()
==>tinkergraph[vertices:6 edges:6]
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().has('name','vadas').valueMap()
==>[name:[vadas], age:[27]]