Github user RussellSpitzer commented on a diff in the pull request:
https://github.com/apache/incubator-tinkerpop/pull/129#discussion_r43542704
--- Diff:
spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/process/computer/SparkGraphComputer.java
---
@@ -130,12 +142,13 @@ public GraphComputer config(final String key, final
Object value) {
try {
graphRDD =
hadoopConfiguration.getClass(Constants.GREMLIN_SPARK_GRAPH_INPUT_RDD,
InputFormatRDD.class, InputRDD.class)
.newInstance()
- .readGraphRDD(this.sparkConfiguration,
sparkContext)
- .setName("graphRDD")
+ .readGraphRDD(apacheConfiguration,
sparkContext)
+
.setName(sparkConfiguration.get(Constants.GREMLIN_HADOOP_OUTPUT_LOCATION,
"graphRDD"))
.cache();
--- End diff --
I believe this "cache" is basically saving the initial state of the graph
after having been read from the source. This will be helpful if there are two
separate DAGs being built from the graphRDD base, but we need to be sure to
unpersist this in all cases.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---