[
https://issues.apache.org/jira/browse/TINKERPOP-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605176#comment-15605176
]
ASF GitHub Bot commented on TINKERPOP-1525:
-------------------------------------------
Github user spmallette commented on the issue:
https://github.com/apache/tinkerpop/pull/462
Travis is showing a pretty clear compilation failure:
```text
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project spark-gremlin: Compilation failure
[ERROR]
/home/travis/build/apache/tinkerpop/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/process/computer/SparkExecutor.java:[92,37]
incompatible types: no instance(s) of type variable(s) T exist so that
java.util.Iterator<T> conforms to java.lang.Iterable<scala.Tuple2<K2,V2>>
```
can that be ignored?
> Plug VertexProgram iteration leak on empty Spark RDD partitions
> ---------------------------------------------------------------
>
> Key: TINKERPOP-1525
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1525
> Project: TinkerPop
> Issue Type: Bug
> Components: hadoop
> Affects Versions: 3.2.3
> Reporter: Dan LaRocque
>
> If SparkExecutor gets an RDD with empty partitions, it can invoke
> {{VertexProgram.workerIterationStart}} without ever invoking
> {{VertexProgram.workerIterationEnd}}.
> For vertex programs that allocate and release meaningful resources in the
> start/end methods, this can lead to resource leaks.
> I already tested a fix that I made against the 3.2 series. I will submit PRs
> momentarily.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)