Pedro Rodriguez created SPARK-3936:
--------------------------------------

             Summary: Incorrect result in GraphX BytecodeUtils with closures + 
class/object methods
                 Key: SPARK-3936
                 URL: https://issues.apache.org/jira/browse/SPARK-3936
             Project: Spark
          Issue Type: Bug
          Components: GraphX
            Reporter: Pedro Rodriguez


There seems to be a bug with the GraphX byte code inspection, specifically in 
BytecodeUtils. 

These are the unit tests I wrote to expose the problem:
https://github.com/EntilZha/spark/blob/a3c38a8329545c034fae2458df134fa3829d08fb/graphx/src/test/scala/org/apache/spark/graphx/util/BytecodeUtilsSuite.scala#L93-L121

The first two tests pass, the second two tests fail. This exposes a problem 
with inspection of methods in closures, in this case within maps. Specifically, 
it seems like there is a problem with inspection of non-inline methods in a 
closure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to