# Copyright 2020 JanusGraph Authors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# | |
# Hadoop Graph Configuration | |
# | |
gremlin.graph=org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph | |
gremlin.hadoop.graphReader=org.janusgraph.hadoop.formats.hbase.HBaseInputFormat | |
gremlin.hadoop.graphWriter=org.apache.hadoop.mapreduce.lib.output.NullOutputFormat | |
gremlin.hadoop.jarsInDistributedCache=true | |
gremlin.hadoop.inputLocation=none | |
gremlin.hadoop.outputLocation=output | |
gremlin.spark.persistContext=true | |
# | |
# JanusGraph HBase InputFormat configuration | |
# | |
janusgraphmr.ioformat.conf.storage.backend=hbase | |
janusgraphmr.ioformat.conf.storage.hostname=localhost | |
janusgraphmr.ioformat.conf.storage.hbase.table=janusgraph | |
# | |
# SparkGraphComputer Configuration | |
# | |
spark.master=spark://127.0.0.1:7077 | |
spark.executor.memory=1g | |
spark.executor.extraClassPath=/opt/lib/janusgraph/* | |
spark.serializer=org.apache.spark.serializer.KryoSerializer | |
spark.kryo.registrator=org.janusgraph.hadoop.serialize.JanusGraphKryoRegistrator | |