Skip to content

[SPARK-20607][CORE]Add new unit tests to ShuffleSuite#17868

Closed
heary-cao wants to merge 1 commit intoapache:masterfrom
heary-cao:ShuffleSuite
Closed

[SPARK-20607][CORE]Add new unit tests to ShuffleSuite#17868
heary-cao wants to merge 1 commit intoapache:masterfrom
heary-cao:ShuffleSuite

Conversation

@heary-cao
Copy link
Copy Markdown
Contributor

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.

@heary-cao heary-cao changed the title [CORE]Add new unit tests to ShuffleSuite [SPARK-20607][CORE]Add new unit tests to ShuffleSuite May 5, 2017
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You aren't closing the existing sc here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has been modified.
please review it again.
thanks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent is off

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry,
I have modify it.
thanks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry,
When debugging use value, forget the back.

@heary-cao heary-cao force-pushed the ShuffleSuite branch 2 times, most recently from a6c2a1d to 130d597 Compare May 5, 2017 09:57
@SparkQA
Copy link
Copy Markdown

SparkQA commented May 15, 2017

Test build #3713 has finished for PR 17868 at commit 130d597.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@heary-cao
Copy link
Copy Markdown
Contributor Author

@srowen
I have modify this Scala style.
reset please.
thanks.

@SparkQA
Copy link
Copy Markdown

SparkQA commented May 17, 2017

Test build #3720 has started for PR 17868 at commit b6eff6e.

@SparkQA
Copy link
Copy Markdown

SparkQA commented May 19, 2017

Test build #3725 has started for PR 17868 at commit b6eff6e.

@SparkQA
Copy link
Copy Markdown

SparkQA commented May 19, 2017

Test build #3734 has finished for PR 17868 at commit b6eff6e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Copy Markdown
Member

srowen commented May 19, 2017

merged to master

@asfgit asfgit closed this in f398640 May 19, 2017
lycplus pushed a commit to lycplus/spark that referenced this pull request May 24, 2017
## 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.

Author: caoxuewen <cao.xuewen@zte.com.cn>

Closes apache#17868 from heary-cao/ShuffleSuite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants