You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/11/18 21:13:34 UTC

[jira] [Commented] (SPARK-668) JavaRDDLike.flatMap(PairFlatMapFunction) may fail with typechecking errors

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

Josh Rosen commented on SPARK-668:
----------------------------------

For reference, I think that this was caused by https://issues.scala-lang.org/browse/SI-6057

> JavaRDDLike.flatMap(PairFlatMapFunction) may fail with typechecking errors
> --------------------------------------------------------------------------
>
>                 Key: SPARK-668
>                 URL: https://issues.apache.org/jira/browse/SPARK-668
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 0.6.1, 0.7.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>             Fix For: 0.7.0, 0.6.2
>
>
> As described in https://groups.google.com/d/topic/spark-users/KrVIf-DHg60/discussion, calls to JavaRDdLike.flatMap(PairFlatMapFunction) may be falsely rejected by the compiler with "cannot find symbol; method: flatMap" errors.
> Here's a complete standalone example that reproduces the problem:
> https://gist.github.com/4640356
> I tried implementing a similar example in pure-Java (no Spark code) and was able to get the proper typechecking, so I suspect that this might be a Scala compiler bug.



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

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