Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/7825#discussion_r36198503
--- Diff:
extras/kinesis-asl/src/test/scala/org/apache/spark/streaming/kinesis/KinesisStreamSuite.scala
---
@@ -26,30 +26,59 @@ import
com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitialPositionIn
import org.scalatest.concurrent.Eventually
import org.scalatest.{BeforeAndAfter, BeforeAndAfterAll}
-import org.apache.spark.storage.StorageLevel
+import org.apache.spark.rdd.RDD
+import org.apache.spark.storage.{StorageLevel, StreamBlockId}
import org.apache.spark.streaming._
-import org.apache.spark.{SparkConf, SparkContext, SparkFunSuite}
+import org.apache.spark.streaming.receiver.BlockManagerBasedStoreResult
+import org.apache.spark.streaming.scheduler.ReceivedBlockInfo
+import org.apache.spark.util.Utils
+import org.apache.spark.{SparkConf, SparkContext}
class KinesisStreamSuite extends KinesisFunSuite
with Eventually with BeforeAndAfter with BeforeAndAfterAll {
- // This is the name that KCL uses to save metadata to DynamoDB
- private val kinesisAppName =
s"KinesisStreamSuite-${math.abs(Random.nextLong())}"
+ private val regionName = "us-east-1"
+ private val endpointUrl = "https://kinesis.us-east-1.amazonaws.com"
--- End diff --
Do we need to change this url in the Python tests?
---
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]