Josh Rosen created SPARK-9266:
---------------------------------

             Summary: Prevent "managed memory leak detected" exception from 
masking original exception
                 Key: SPARK-9266
                 URL: https://issues.apache.org/jira/browse/SPARK-9266
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.4.1, 1.4.0, 1.5.0
            Reporter: Josh Rosen
            Assignee: Josh Rosen


When a task fails with an exception and also fails to properly clean up its 
managed memory, the {{spark.unsafe.exceptionOnMemoryLeak}} memory leak 
detection exception may mask the original exception cause.  We should throw the 
memory leak exception only if no other exception occurred.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to