You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rekha Joshi (JIRA)" <ji...@apache.org> on 2015/12/07 22:28:11 UTC

[jira] [Commented] (SPARK-11464) Flaky test: Streaming CheckpointSuite

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

Rekha Joshi commented on SPARK-11464:
-------------------------------------

Hi [~kayousterhout]  - I am on 1.6.0-SNAPSHOT Spark and cannot reproduce this on local, tried multiple times. Also checked previous multiple builds on https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder, even the failed ones do not see this coming up.
{code}
Discovery starting.
Discovery completed in 2 seconds, 886 milliseconds.
Run starting. Expected test count is: 24
CheckpointSuite:
- basic checkpointing [reliable checkpoint]
- basic checkpointing [local checkpoint]
- RDDs with one-to-one dependencies [reliable checkpoint]
- RDDs with one-to-one dependencies [local checkpoint]
- ParallelCollectionRDD [reliable checkpoint]
- ParallelCollectionRDD [local checkpoint]
- BlockRDD [reliable checkpoint]
- BlockRDD [local checkpoint]
- ShuffleRDD [reliable checkpoint]
- ShuffleRDD [local checkpoint]
- UnionRDD [reliable checkpoint]
- UnionRDD [local checkpoint]
- CartesianRDD [reliable checkpoint]
- CartesianRDD [local checkpoint]
- CoalescedRDD [reliable checkpoint]
- CoalescedRDD [local checkpoint]
- CoGroupedRDD [reliable checkpoint]
- CoGroupedRDD [local checkpoint]
- ZippedPartitionsRDD [reliable checkpoint]
- ZippedPartitionsRDD [local checkpoint]
- PartitionerAwareUnionRDD [reliable checkpoint]
- PartitionerAwareUnionRDD [local checkpoint]
- CheckpointRDD with zero partitions [reliable checkpoint]
- CheckpointRDD with zero partitions [local checkpoint]
Run completed in 15 seconds, 9 milliseconds.
Total number of tests run: 24
Suites: completed 2, aborted 0
Tests: succeeded 24, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
{code}

There can be possibly tuning once it can be reproduced on advanceTimeWithRealDelay(ssc, firstNumBatches) (ln:92) call. What do you suggest? thanks!

> Flaky test: Streaming CheckpointSuite
> -------------------------------------
>
>                 Key: SPARK-11464
>                 URL: https://issues.apache.org/jira/browse/SPARK-11464
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming, Tests
>    Affects Versions: 1.5.1
>            Reporter: Kay Ousterhout
>            Priority: Minor
>              Labels: flaky-test
>
> This test failed recently on an unrelated PR: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44828/consoleFull (cc [~vanzin])
> CheckpointSuite:
> [info] - basic rdd checkpoints + dstream graph checkpoint recovery *** FAILED *** (6 seconds, 296 milliseconds)
> [info]   Map() was empty No checkpointed RDDs in state stream before first failure (CheckpointSuite.scala:93)
> [info]   org.scalatest.exceptions.TestFailedException:
> [info]   at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:500)
> [info]   at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1555)
> [info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:466)
> [info]   at org.apache.spark.streaming.CheckpointSuite$$anonfun$1.apply$mcV$sp(CheckpointSuite.scala:93)
> [info]   at org.apache.spark.streaming.CheckpointSuite$$anonfun$1.apply(CheckpointSuite.scala:62)
> [info]   at org.apache.spark.streaming.CheckpointSuite$$anonfun$1.apply(CheckpointSuite.scala:62)
> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
> [info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
> [info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
> [info]   at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166)
> [info]   at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:42)
> [info]   at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:163)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
> [info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
> [info]   at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:175)
> [info]   at org.apache.spark.streaming.CheckpointSuite.org$scalatest$BeforeAndAfter$$super$runTest(CheckpointSuite.scala:45)
> [info]   at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:200)
> [info]   at org.apache.spark.streaming.CheckpointSuite.runTest(CheckpointSuite.scala:45)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
> [info]   at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
> [info]   at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
> [info]   at scala.collection.immutable.List.foreach(List.scala:318)
> [info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
> [info]   at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
> [info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
> [info]   at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:208)
> [info]   at org.scalatest.FunSuite.runTests(FunSuite.scala:1555)
> [info]   at org.scalatest.Suite$class.run(Suite.scala:1424)
> [info]   at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1555)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
> [info]   at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
> [info]   at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
> [info]   at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:212)
> [info]   at org.apache.spark.streaming.CheckpointSuite.org$scalatest$BeforeAndAfter$$super$run(CheckpointSuite.scala:45)
> [info]   at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:241)
> [info]   at org.apache.spark.streaming.CheckpointSuite.run(CheckpointSuite.scala:45)
> [info]   at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:462)
> [info]   at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:671)
> [info]   at sbt.ForkMain$Run$2.call(ForkMain.java:294)
> [info]   at sbt.ForkMain$Run$2.call(ForkMain.java:284)
> [info]   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> [info]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [info]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [info]   at java.lang.Thread.run(Thread.java:745)



--
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