GitHub user heary-cao opened a pull request: https://github.com/apache/spark/pull/17868
[CORE]Add new unit tests to ShuffleSuite ## What changes were proposed in this pull request? This PR update to two: 1.adds the new unit tests. testing would be performed when there is no shuffle stage, shuffle will not generate the data file and the index files. 2.Modify the '[SPARK-4085] rerun map stage if reduce stage cannot find its local shuffle file' unit test, parallelize is 1 but not is 2, Check the index file and delete. ## How was this patch tested? The new unit test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/heary-cao/spark ShuffleSuite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17868.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 #17868 ---- commit 874a3b1f1f1da21adf8fa682aa082efb5a0efb8f Author: caoxuewen <cao.xue...@zte.com.cn> Date: 2017-05-05T05:44:36Z Add new unit tests to ShuffleSuite ---- --- 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