Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/5835#issuecomment-101357448
  
    Here's the full actual error that seems to cause the timeout. It does seem 
to be related to this change, but it seems like something _uncovered_ by this 
change.
    
    My interpretation is that `isInterpreter` has been _true_ during tests all 
this time (hitting the `ClassNotFoundException` path) and now it's using this 
code path calling the constructor, which maybe has a problem.
    
    I don't know a lot about the reason for this difference in handling the two 
paths.
    
    ```
    [info] - repartition (more partitions) *** FAILED *** (166 milliseconds)
    [info]   java.lang.IllegalArgumentException: argument type mismatch
    [info]   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
    [info]   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    [info]   at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [info]   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    [info]   at 
org.apache.spark.util.ClosureCleaner$.org$apache$spark$util$ClosureCleaner$$instantiateClass(ClosureCleaner.scala:330)
    [info]   at 
org.apache.spark.util.ClosureCleaner$$anonfun$org$apache$spark$util$ClosureCleaner$$clean$22.apply(ClosureCleaner.scala:268)
    [info]   at 
org.apache.spark.util.ClosureCleaner$$anonfun$org$apache$spark$util$ClosureCleaner$$clean$22.apply(ClosureCleaner.scala:262)
    [info]   at 
scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
    [info]   at scala.collection.immutable.List.foreach(List.scala:318)
    [info]   at 
scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)
    [info]   at 
org.apache.spark.util.ClosureCleaner$.org$apache$spark$util$ClosureCleaner$$clean(ClosureCleaner.scala:262)
    [info]   at 
org.apache.spark.util.ClosureCleaner$.clean(ClosureCleaner.scala:132)
    [info]   at org.apache.spark.SparkContext.clean(SparkContext.scala:1811)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1.apply(RDD.scala:700)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1.apply(RDD.scala:699)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:138)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:99)
    [info]   at org.apache.spark.rdd.RDD.withScope(RDD.scala:286)
    [info]   at org.apache.spark.rdd.RDD.mapPartitionsWithIndex(RDD.scala:699)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$coalesce$1.apply(RDD.scala:381)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$coalesce$1.apply(RDD.scala:367)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:138)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:99)
    [info]   at org.apache.spark.rdd.RDD.withScope(RDD.scala:286)
    [info]   at org.apache.spark.rdd.RDD.coalesce(RDD.scala:366)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$repartition$1.apply(RDD.scala:342)
    [info]   at 
org.apache.spark.rdd.RDD$$anonfun$repartition$1.apply(RDD.scala:342)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:138)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:99)
    [info]   at org.apache.spark.rdd.RDD.withScope(RDD.scala:286)
    [info]   at org.apache.spark.rdd.RDD.repartition(RDD.scala:341)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$repartition$1.apply(DStream.scala:469)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$repartition$1.apply(DStream.scala:469)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$transform$1.apply(DStream.scala:557)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$transform$1.apply(DStream.scala:557)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$5.apply(DStream.scala:571)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$5.apply(DStream.scala:569)
    [info]   at 
org.apache.spark.streaming.dstream.TransformedDStream.compute(TransformedDStream.scala:41)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1.apply(DStream.scala:300)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1$$anonfun$1.apply(DStream.scala:300)
    [info]   at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1.apply(DStream.scala:299)
    [info]   at 
org.apache.spark.streaming.dstream.DStream$$anonfun$getOrCompute$1.apply(DStream.scala:287)
    [info]   at scala.Option.orElse(Option.scala:257)
    [info]   at 
org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:284)
    [info]   at 
org.apache.spark.streaming.dstream.ForEachDStream.generateJob(ForEachDStream.scala:38)
    [info]   at 
org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:120)
    [info]   at 
org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:120)
    [info]   at 
scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    [info]   at 
scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    [info]   at 
scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
    [info]   at 
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
    [info]   at 
scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    [info]   at 
scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    [info]   at 
org.apache.spark.streaming.DStreamGraph.generateJobs(DStreamGraph.scala:120)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator$$anonfun$2.apply(JobGenerator.scala:243)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator$$anonfun$2.apply(JobGenerator.scala:241)
    [info]   at scala.util.Try$.apply(Try.scala:161)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator.generateJobs(JobGenerator.scala:241)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator.org$apache$spark$streaming$scheduler$JobGenerator$$processEvent(JobGenerator.scala:177)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:83)
    [info]   at 
org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:82)
    [info]   at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to