Hi John - I'm also very interested in how to do this. We
recently built a graph stored in HBase, and when we run
g.E().count(), it took some 5+ hours to complete from the gremlin
shell (79 million edges). Is there any 'how to' or getting
started guide on how to use Spark+YARN with this?
Thank you!
-Joe
--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# conf/hadoop/read-cassandra.properties
# TinkerPop Hadoop Graph for OLAP
gremlin.graph=org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph
# Set the default OLAP computer for graph.traversal().withComputer()
gremlin.hadoop.defaultGraphComputer=org.apache.tinkerpop.gremlin.spark.process.computer.SparkGraphComputer
# I/O Formats
gremlin.hadoop.graphInputFormat=org.janusgraph.hadoop.formats.cassandra.CassandraInputFormat
gremlin.hadoop.graphOutputFormat=org.apache.tinkerpop.gremlin.hadoop.structure.io.gryo.GryoOutputFormat
gremlin.hadoop.inputLocation=none
gremlin.hadoop.outputLocation=output
# JanusGraph-Cassandra InputFormat configuration
janusgraphmr.ioformat.conf.storage.backend=cassandra
janusgraphmr.ioformat.conf.storage.hostname=192.168.70.101
janusgraphmr.ioformat.conf.storage.port=9160
janusgraphmr.ioformat.conf.storage.cassandra.keyspace=janusgraph
# Apache Cassandra InputFormat configuration
cassandra.input.partitioner.class=org.apache.cassandra.dht.Murmur3Partitioner
# Gremlin Console acts as the Spark Driver (YARN client)
spark.master=yarn-client
spark.executor.memory=512m
# When true, jars from HADOOP_GREMLIN_LIBS become added jars available via http to executors
# In Spark 1.6.1, jars are added but don't appear to be available...
gremlin.hadoop.jarsInDistributedCache=false
# Install JanusGraph on all worker nodes, then add jars with local fs path
spark.executor.extraClassPath=/home/vagrant/_/opt/janusgraph-0.1.1-hadoop2/lib/*