sarutak commented on pull request #33133: URL: https://github.com/apache/spark/pull/33133#issuecomment-870903590
@dongjoon-hyun Thank you, I forgot that kinesis tests don't run on CI. I ran `*Kinesis*Suite` with `ENABLE_KINESIS_TESTS=1` and they passed on my AWS environment. But kinesis-client seems to need newer Guava regardless of `1.14.4` or currently used `1.14.0`. Otherwise, we'll get like the following exception. ``` [info] org.apache.spark.streaming.kinesis.WithAggregationKinesisStreamSuite *** ABORTED *** (7 seconds, 229 milliseconds) [info] org.apache.spark.SparkException: Only one SparkContext should be running in this JVM (see SPARK-2243).The currently running SparkContext was created at: [info] org.apache.spark.SparkContext.<init>(SparkContext.scala:85) [info] org.apache.spark.streaming.StreamingContext$.createNewSparkContext(StreamingContext.scala:851) [info] org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:85) [info] org.apache.spark.streaming.kinesis.KinesisInputDStreamBuilderSuite.<init>(KinesisInputDStreamBuilderSuite.scala:36) [info] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [info] sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [info] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [info] java.lang.reflect.Constructor.newInstance(Constructor.java:423) [info] java.lang.Class.newInstance(Class.java:442) [info] org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:450) [info] sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:413) [info] java.util.concurrent.FutureTask.run(FutureTask.java:266) [info] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [info] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ``` So, I tried with `-Dguava.version=27.0-jre`. Is this expected? I also ran kinesis tests on the commit a9e8e0528a52d19103463bae0a which upgraded kinesis-client to `1.14.0` but this also seems to need newer Guava. On the other hand, the commit 82267acfe8c78a70d56a6 which is the parent commit of a9e8e0528a52d19103463bae0a doesn't need newer Guava. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
