Re: issue with coalesce in Spark 2.0.0

2016-08-03 Thread Michael Armbrust
Spark 2.0 is not binary compatible with Spark 1.x, you'll need to recompile your jar. On Tue, Aug 2, 2016 at 2:57 AM, 陈宇航 wrote: > Hi all. > > > I'm testing on Spark 2.0.0 and found an issue when using coalesce in > my code. > > The procedure is simple doing a coalesce for a RDD[Stirng],

issue with coalesce in Spark 2.0.0

2016-08-02 Thread ??????
Hi all. Hi all. I'm testing on Spark 2.0.0 and found an issue when using coalesce in my code. The procedure is simple doing a coalesce for a RDD[Stirng], and this happened: java.lang.NoSuchMethodError: org.apache.spark.rdd.RDD.coalesce(IZLscala/math/Ordering;)Lo