[ 
https://issues.apache.org/jira/browse/SPARK-14220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541484#comment-16541484
 ] 

Lukas Rytz commented on SPARK-14220:
------------------------------------

This is a limitation in overloading resolution that might be fixed in some 
future release, I filed a Scala ticket 
[https://github.com/scala/bug/issues/11016.] In the meantime, the method 
`addTaskCompletionListener` could be changed from

 

  def addTaskCompletionListener(f: (TaskContext) => Unit): TaskContext

 

to

 

  def addTaskCompletionListener[U](f: (TaskContext) => U): TaskContext

 

This is a binary compatible change, and it should be source compatible too.

> Build and test Spark against Scala 2.12
> ---------------------------------------
>
>                 Key: SPARK-14220
>                 URL: https://issues.apache.org/jira/browse/SPARK-14220
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Build, Project Infra
>    Affects Versions: 2.1.0
>            Reporter: Josh Rosen
>            Priority: Blocker
>
> This umbrella JIRA tracks the requirements for building and testing Spark 
> against the current Scala 2.12 milestone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to