-
- Downloads
[SPARK-9128] [CORE] Get outerclasses and objects with only one method calling in ClosureCleaner
JIRA: https://issues.apache.org/jira/browse/SPARK-9128 Currently, in `ClosureCleaner`, the outerclasses and objects are retrieved using two different methods. However, the logic of the two methods is the same, and we can get both the outerclasses and objects with only one method calling. Author: Liang-Chi Hsieh <viirya@appier.com> Closes #7459 from viirya/remove_extra_closurecleaner and squashes the following commits: 7c9858d [Liang-Chi Hsieh] For comments. a096941 [Liang-Chi Hsieh] Merge remote-tracking branch 'upstream/master' into remove_extra_closurecleaner 2ec5ce1 [Liang-Chi Hsieh] Remove unnecessary methods. 4df5a51 [Liang-Chi Hsieh] Merge remote-tracking branch 'upstream/master' into remove_extra_closurecleaner dc110d1 [Liang-Chi Hsieh] Add method to get outerclasses and objects at the same time.
Showing
- core/src/main/scala/org/apache/spark/util/ClosureCleaner.scala 7 additions, 25 deletions...src/main/scala/org/apache/spark/util/ClosureCleaner.scala
- core/src/test/scala/org/apache/spark/util/ClosureCleanerSuite2.scala 21 additions, 33 deletions...st/scala/org/apache/spark/util/ClosureCleanerSuite2.scala
Please register or sign in to comment