Re: JavaRDD method ambiguous after upgrading to Java 8

2015-03-02 Thread btiernay
Seem like upgrading to 1.2.0 fixed the error. 



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/JavaRDD-method-ambiguous-after-upgrading-to-Java-8-tp21882p21883.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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



JavaRDD method ambiguous after upgrading to Java 8

2015-03-02 Thread btiernay
The following method demonstrates the issue:

  private static Tuple2 group(JavaPairRDD
rdd, Function, String> f) {
return rdd.groupBy(f);
  }

I get the following compilation error using Spark 1.1.1 and Java 8u31:

The method groupBy(Function,String>) is ambiguous
for the type JavaPairRDD

I believe it is ambiguous because both JavaPairRDD and JavaRDDLike offer the
same method.

Has anyone encountered this before? Is there a solution?

Thanks!



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/JavaRDD-method-ambiguous-after-upgrading-to-Java-8-tp21882.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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



Re: Discourse: A proposed alternative to the Spark User list

2015-01-21 Thread btiernay
I think this is a really great idea for really opening up the discussions
that happen here. Also, it would be nice to know why there doesn't seem to
be much interest. Maybe I'm misunderstanding some nuance of Apache projects.

Cheers



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Discourse-A-proposed-alternative-to-the-Spark-User-list-tp20851p21288.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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