GitHub user yssharma opened a pull request: https://github.com/apache/spark/pull/17506
[SPARK-20189][DStream] Fix spark kinesis testcases to remove deprecated createStream and use Builders ## What changes were proposed in this pull request? The spark-kinesis testcases use the KinesisUtils.createStream which are deprecated now. Modify the testcases to use the recommended KinesisInputDStream.builder instead. This change will also enable the testcases to automatically use the session tokens automatically. ## How was this patch tested? All the existing testcases work fine as expected with the changes. https://issues.apache.org/jira/browse/SPARK-20189 You can merge this pull request into a Git repository by running: $ git pull https://github.com/yssharma/spark ysharma/cleanup_kinesis_testcases Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17506.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17506 ---- commit 9ceab24d03c0eb226511b3e5e7917ce17cdaf395 Author: Yash Sharma <ysha...@atlassian.com> Date: 2017-04-01T23:26:19Z SPARK-20189 - Fix spark kinesis testcases to remove deprecated createStream and use Builders ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org