Regression

org.apache.spark.sql.kafka010.KafkaMicroBatchV1SourceSuite.subscribing topic by pattern from earliest offsets (failOnDataLoss: false)

Failing for the past 1 build (Since #5035 )
Took 1 min 26 sec.

Error Message

org.scalatest.exceptions.TestFailedException:  Error adding data: Timeout after waiting for 10000 ms. org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:78)  org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:30)  org.apache.spark.sql.kafka010.KafkaTestUtils.$anonfun$sendMessages$3(KafkaTestUtils.scala:466)  scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)  scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)  scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)  scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)  scala.collection.TraversableLike.map(TraversableLike.scala:238)  scala.collection.TraversableLike.map$(TraversableLike.scala:231)  scala.collection.AbstractTraversable.map(Traversable.scala:108)   == Progress == => AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(4, 5, 6), message = )    CheckAnswer: [2],[3],[4],[5],[6],[7]    StopStream    StartStream(ProcessingTimeTrigger(0),org.apache.spark.util.SystemClock@4876b954,Map(),null)    CheckAnswer: [2],[3],[4],[5],[6],[7]    StopStream    AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(7, 8), message = )    StartStream(ProcessingTimeTrigger(0),org.apache.spark.util.SystemClock@3b036dda,Map(),null)    CheckAnswer: [2],[3],[4],[5],[6],[7],[8],[9]    AssertOnQuery(<condition>, Add partitions)    AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(9, 10, 11, 12, 13, 14, 15, 16), message = )    CheckAnswer: [2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12],[13],[14],[15],[16],[17]  == Stream == Output Mode: Append Stream state: {KafkaSourceV1[SubscribePattern[topic-22-.*]]: {"topic-22-suffix":{"2":1,"4":1,"1":0,"3":1,"0":0}}} Thread state: alive Thread stack trace: java.lang.UNIXProcess.forkAndExec(Native Method) java.lang.UNIXProcess.<init>(UNIXProcess.java:247) java.lang.ProcessImpl.start(ProcessImpl.java:134) java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) org.apache.hadoop.util.Shell.runCommand(Shell.java:526) org.apache.hadoop.util.Shell.run(Shell.java:482) org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:776) org.apache.hadoop.util.Shell.execCommand(Shell.java:869) org.apache.hadoop.util.Shell.execCommand(Shell.java:852) org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:733) org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:225) org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209) org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:307) org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:296) org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:328) org.apache.hadoop.fs.FileSystem.primitiveCreate(FileSystem.java:1017) org.apache.hadoop.fs.DelegateToFileSystem.createInternal(DelegateToFileSystem.java:100) org.apache.hadoop.fs.ChecksumFs$ChecksumFSOutputSummer.<init>(ChecksumFs.java:353) org.apache.hadoop.fs.ChecksumFs.createInternal(ChecksumFs.java:400) org.apache.hadoop.fs.AbstractFileSystem.create(AbstractFileSystem.java:596) org.apache.hadoop.fs.FileContext$3.next(FileContext.java:686) org.apache.hadoop.fs.FileContext$3.next(FileContext.java:682) org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90) org.apache.hadoop.fs.FileContext.create(FileContext.java:688) org.apache.spark.sql.execution.streaming.FileContextBasedCheckpointFileManager.createTempFile(CheckpointFileManager.scala:310) org.apache.spark.sql.execution.streaming.CheckpointFileManager$RenameBasedFSDataOutputStream.<init>(CheckpointFileManager.scala:133) org.apache.spark.sql.execution.streaming.CheckpointFileManager$RenameBasedFSDataOutputStream.<init>(CheckpointFileManager.scala:136) org.apache.spark.sql.execution.streaming.FileContextBasedCheckpointFileManager.createAtomic(CheckpointFileManager.scala:316) org.apache.spark.sql.execution.streaming.HDFSMetadataLog.writeBatchToFile(HDFSMetadataLog.scala:131) org.apache.spark.sql.execution.streaming.HDFSMetadataLog.$anonfun$add$3(HDFSMetadataLog.scala:120) org.apache.spark.sql.execution.streaming.HDFSMetadataLog$$Lambda$3617/1180641474.apply$mcZ$sp(Unknown Source) scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23) scala.Option.getOrElse(Option.scala:189) org.apache.spark.sql.execution.streaming.HDFSMetadataLog.add(HDFSMetadataLog.scala:118) org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$constructNextBatch$12(MicroBatchExecution.scala:418) org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5309/1698148492.apply$mcV$sp(Unknown Source) scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken(ProgressReporter.scala:352) org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken$(ProgressReporter.scala:350) org.apache.spark.sql.execution.streaming.StreamExecution.reportTimeTaken(StreamExecution.scala:68) org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$constructNextBatch$1(MicroBatchExecution.scala:416) org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5290/1273668909.apply$mcZ$sp(Unknown Source) scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23) org.apache.spark.sql.execution.streaming.MicroBatchExecution.withProgressLocked(MicroBatchExecution.scala:598) org.apache.spark.sql.execution.streaming.MicroBatchExecution.constructNextBatch(MicroBatchExecution.scala:364) org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$runActivatedStream$2(MicroBatchExecution.scala:208) org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5284/162939131.apply$mcV$sp(Unknown Source) scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken(ProgressReporter.scala:352) org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken$(ProgressReporter.scala:350) org.apache.spark.sql.execution.streaming.StreamExecution.reportTimeTaken(StreamExecution.scala:68) org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$runActivatedStream$1(MicroBatchExecution.scala:191) org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5283/1670594217.apply$mcZ$sp(Unknown Source) org.apache.spark.sql.execution.streaming.ProcessingTimeExecutor.execute(TriggerExecutor.scala:57) org.apache.spark.sql.execution.streaming.MicroBatchExecution.runActivatedStream(MicroBatchExecution.scala:185) org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runStream(StreamExecution.scala:333) org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:244)   == Sink == 0: [2] [3] [4]   == Plan == == Parsed Logical Plan == WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20 +- SerializeFromObject [input[0, int, false] AS value#17357]    +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int       +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2          +- Project [cast(key#17331 as string) AS key#17345, cast(value#17332 as string) AS value#17346]             +- Project [key#17381 AS key#17331, value#17382 AS value#17332, topic#17383 AS topic#17333, partition#17384 AS partition#17334, offset#17385L AS offset#17335L, timestamp#17386 AS timestamp#17336, timestampType#17387 AS timestampType#17337]                +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true  == Analyzed Logical Plan ==  WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20 +- SerializeFromObject [input[0, int, false] AS value#17357]    +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int       +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2          +- Project [cast(key#17331 as string) AS key#17345, cast(value#17332 as string) AS value#17346]             +- Project [key#17381 AS key#17331, value#17382 AS value#17332, topic#17383 AS topic#17333, partition#17384 AS partition#17334, offset#17385L AS offset#17335L, timestamp#17386 AS timestamp#17336, timestampType#17387 AS timestampType#17337]                +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true  == Optimized Logical Plan == WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20 +- SerializeFromObject [input[0, int, false] AS value#17357]    +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int       +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2          +- Project [cast(key#17381 as string) AS key#17345, cast(value#17382 as string) AS value#17346]             +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true  == Physical Plan == WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20 +- *(1) SerializeFromObject [input[0, int, false] AS value#17357]    +- *(1) MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, obj#17356: int       +- *(1) DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2          +- *(1) Project [cast(key#17381 as string) AS key#17345, cast(value#17382 as string) AS value#17346]             +- *(1) Scan ExistingRDD kafka[key#17381,value#17382,topic#17383,partition#17384,offset#17385L,timestamp#17386,timestampType#17387]                     

Stacktrace

sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 
Error adding data: Timeout after waiting for 10000 ms.
org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:78)
	org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:30)
	org.apache.spark.sql.kafka010.KafkaTestUtils.$anonfun$sendMessages$3(KafkaTestUtils.scala:466)
	scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
	scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
	scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
	scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)
	scala.collection.TraversableLike.map(TraversableLike.scala:238)
	scala.collection.TraversableLike.map$(TraversableLike.scala:231)
	scala.collection.AbstractTraversable.map(Traversable.scala:108)


== Progress ==
=> AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(4, 5, 6), message = )
   CheckAnswer: [2],[3],[4],[5],[6],[7]
   StopStream
   StartStream(ProcessingTimeTrigger(0),org.apache.spark.util.SystemClock@4876b954,Map(),null)
   CheckAnswer: [2],[3],[4],[5],[6],[7]
   StopStream
   AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(7, 8), message = )
   StartStream(ProcessingTimeTrigger(0),org.apache.spark.util.SystemClock@3b036dda,Map(),null)
   CheckAnswer: [2],[3],[4],[5],[6],[7],[8],[9]
   AssertOnQuery(<condition>, Add partitions)
   AddKafkaData(topics = Set(topic-22-suffix), data = WrappedArray(9, 10, 11, 12, 13, 14, 15, 16), message = )
   CheckAnswer: [2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12],[13],[14],[15],[16],[17]

== Stream ==
Output Mode: Append
Stream state: {KafkaSourceV1[SubscribePattern[topic-22-.*]]: {"topic-22-suffix":{"2":1,"4":1,"1":0,"3":1,"0":0}}}
Thread state: alive
Thread stack trace: java.lang.UNIXProcess.forkAndExec(Native Method)
java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
java.lang.ProcessImpl.start(ProcessImpl.java:134)
java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
org.apache.hadoop.util.Shell.runCommand(Shell.java:526)
org.apache.hadoop.util.Shell.run(Shell.java:482)
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:776)
org.apache.hadoop.util.Shell.execCommand(Shell.java:869)
org.apache.hadoop.util.Shell.execCommand(Shell.java:852)
org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:733)
org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:225)
org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209)
org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:307)
org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:296)
org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:328)
org.apache.hadoop.fs.FileSystem.primitiveCreate(FileSystem.java:1017)
org.apache.hadoop.fs.DelegateToFileSystem.createInternal(DelegateToFileSystem.java:100)
org.apache.hadoop.fs.ChecksumFs$ChecksumFSOutputSummer.<init>(ChecksumFs.java:353)
org.apache.hadoop.fs.ChecksumFs.createInternal(ChecksumFs.java:400)
org.apache.hadoop.fs.AbstractFileSystem.create(AbstractFileSystem.java:596)
org.apache.hadoop.fs.FileContext$3.next(FileContext.java:686)
org.apache.hadoop.fs.FileContext$3.next(FileContext.java:682)
org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
org.apache.hadoop.fs.FileContext.create(FileContext.java:688)
org.apache.spark.sql.execution.streaming.FileContextBasedCheckpointFileManager.createTempFile(CheckpointFileManager.scala:310)
org.apache.spark.sql.execution.streaming.CheckpointFileManager$RenameBasedFSDataOutputStream.<init>(CheckpointFileManager.scala:133)
org.apache.spark.sql.execution.streaming.CheckpointFileManager$RenameBasedFSDataOutputStream.<init>(CheckpointFileManager.scala:136)
org.apache.spark.sql.execution.streaming.FileContextBasedCheckpointFileManager.createAtomic(CheckpointFileManager.scala:316)
org.apache.spark.sql.execution.streaming.HDFSMetadataLog.writeBatchToFile(HDFSMetadataLog.scala:131)
org.apache.spark.sql.execution.streaming.HDFSMetadataLog.$anonfun$add$3(HDFSMetadataLog.scala:120)
org.apache.spark.sql.execution.streaming.HDFSMetadataLog$$Lambda$3617/1180641474.apply$mcZ$sp(Unknown Source)
scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23)
scala.Option.getOrElse(Option.scala:189)
org.apache.spark.sql.execution.streaming.HDFSMetadataLog.add(HDFSMetadataLog.scala:118)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$constructNextBatch$12(MicroBatchExecution.scala:418)
org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5309/1698148492.apply$mcV$sp(Unknown Source)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken(ProgressReporter.scala:352)
org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken$(ProgressReporter.scala:350)
org.apache.spark.sql.execution.streaming.StreamExecution.reportTimeTaken(StreamExecution.scala:68)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$constructNextBatch$1(MicroBatchExecution.scala:416)
org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5290/1273668909.apply$mcZ$sp(Unknown Source)
scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.withProgressLocked(MicroBatchExecution.scala:598)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.constructNextBatch(MicroBatchExecution.scala:364)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$runActivatedStream$2(MicroBatchExecution.scala:208)
org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5284/162939131.apply$mcV$sp(Unknown Source)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken(ProgressReporter.scala:352)
org.apache.spark.sql.execution.streaming.ProgressReporter.reportTimeTaken$(ProgressReporter.scala:350)
org.apache.spark.sql.execution.streaming.StreamExecution.reportTimeTaken(StreamExecution.scala:68)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.$anonfun$runActivatedStream$1(MicroBatchExecution.scala:191)
org.apache.spark.sql.execution.streaming.MicroBatchExecution$$Lambda$5283/1670594217.apply$mcZ$sp(Unknown Source)
org.apache.spark.sql.execution.streaming.ProcessingTimeExecutor.execute(TriggerExecutor.scala:57)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.runActivatedStream(MicroBatchExecution.scala:185)
org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runStream(StreamExecution.scala:333)
org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:244)


== Sink ==
0: [2] [3] [4]


== Plan ==
== Parsed Logical Plan ==
WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20
+- SerializeFromObject [input[0, int, false] AS value#17357]
   +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int
      +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2
         +- Project [cast(key#17331 as string) AS key#17345, cast(value#17332 as string) AS value#17346]
            +- Project [key#17381 AS key#17331, value#17382 AS value#17332, topic#17383 AS topic#17333, partition#17384 AS partition#17334, offset#17385L AS offset#17335L, timestamp#17386 AS timestamp#17336, timestampType#17387 AS timestampType#17337]
               +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true

== Analyzed Logical Plan ==

WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20
+- SerializeFromObject [input[0, int, false] AS value#17357]
   +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int
      +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2
         +- Project [cast(key#17331 as string) AS key#17345, cast(value#17332 as string) AS value#17346]
            +- Project [key#17381 AS key#17331, value#17382 AS value#17332, topic#17383 AS topic#17333, partition#17384 AS partition#17334, offset#17385L AS offset#17335L, timestamp#17386 AS timestamp#17336, timestampType#17387 AS timestampType#17337]
               +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true

== Optimized Logical Plan ==
WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20
+- SerializeFromObject [input[0, int, false] AS value#17357]
   +- MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, class scala.Tuple2, [StructField(_1,StringType,true), StructField(_2,StringType,true)], obj#17356: int
      +- DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2
         +- Project [cast(key#17381 as string) AS key#17345, cast(value#17382 as string) AS value#17346]
            +- LogicalRDD [key#17381, value#17382, topic#17383, partition#17384, offset#17385L, timestamp#17386, timestampType#17387], true

== Physical Plan ==
WriteToDataSourceV2 org.apache.spark.sql.execution.streaming.sources.MicroBatchWrite@48260b20
+- *(1) SerializeFromObject [input[0, int, false] AS value#17357]
   +- *(1) MapElements org.apache.spark.sql.kafka010.KafkaSourceSuiteBase$$Lambda$4153/1474523527@4d96099c, obj#17356: int
      +- *(1) DeserializeToObject newInstance(class scala.Tuple2), obj#17355: scala.Tuple2
         +- *(1) Project [cast(key#17381 as string) AS key#17345, cast(value#17382 as string) AS value#17346]
            +- *(1) Scan ExistingRDD kafka[key#17381,value#17382,topic#17383,partition#17384,offset#17385L,timestamp#17386,timestampType#17387]

         
         
	at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
	at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
	at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
	at org.scalatest.Assertions.fail(Assertions.scala:1091)
	at org.scalatest.Assertions.fail$(Assertions.scala:1087)
	at org.scalatest.FunSuite.fail(FunSuite.scala:1560)
	at org.apache.spark.sql.streaming.StreamTest.failTest$1(StreamTest.scala:452)
	at org.apache.spark.sql.streaming.StreamTest.executeAction$1(StreamTest.scala:724)
	at org.apache.spark.sql.streaming.StreamTest.$anonfun$testStream$56(StreamTest.scala:778)
	at org.apache.spark.sql.streaming.StreamTest.$anonfun$testStream$56$adapted(StreamTest.scala:765)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at org.apache.spark.sql.streaming.StreamTest.liftedTree1$1(StreamTest.scala:765)
	at org.apache.spark.sql.streaming.StreamTest.testStream(StreamTest.scala:764)
	at org.apache.spark.sql.streaming.StreamTest.testStream$(StreamTest.scala:334)
	at org.apache.spark.sql.kafka010.KafkaSourceTest.testStream(KafkaMicroBatchSourceSuite.scala:53)
	at org.apache.spark.sql.kafka010.KafkaSourceSuiteBase.testFromEarliestOffsets(KafkaMicroBatchSourceSuite.scala:1769)
	at org.apache.spark.sql.kafka010.KafkaSourceSuiteBase.$anonfun$new$139(KafkaMicroBatchSourceSuite.scala:1389)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
	at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:151)
	at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)
	at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:286)
	at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)
	at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:58)
	at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
	at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
	at org.apache.spark.SparkFunSuite.runTest(SparkFunSuite.scala:58)
	at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:393)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:381)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:376)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:458)
	at org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)
	at org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)
	at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
	at org.scalatest.Suite.run(Suite.scala:1124)
	at org.scalatest.Suite.run$(Suite.scala:1106)
	at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
	at org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:518)
	at org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)
	at org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:58)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:58)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:317)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:510)
	at sbt.ForkMain$Run$2.call(ForkMain.java:296)
	at sbt.ForkMain$Run$2.call(ForkMain.java:286)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)