Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented May 28, 2020

What changes were proposed in this pull request?

This PR backports the change of #28583 (SPARK-31764) to branch-3.0, which changes JsonProtocol to write RDDInfos#isBarrier.

Why are the changes needed?

JsonProtocol reads RDDInfos#isBarrier but not write it so it's a bug.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

I added a testcase.

### What changes were proposed in this pull request?

This PR changes JsonProtocol to write RDDInfos#isBarrier.

### Why are the changes needed?

JsonProtocol reads RDDInfos#isBarrier but not write it so it's a bug.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

I added a testcase.

Closes apache#28583 from sarutak/SPARK-31764.

Authored-by: Kousuke Saruta <[email protected]>
Signed-off-by: Xingbo Jiang <[email protected]>
@sarutak
Copy link
Member Author

sarutak commented May 28, 2020

CC: @jiangxb1987 @HeartSaVioR

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

LGTM

@SparkQA
Copy link

SparkQA commented May 28, 2020

Test build #123208 has finished for PR 28660 at commit bc5fc2d.

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

@HeartSaVioR
Copy link
Contributor

cc. @jiangxb1987 to see the chance we can include this on 3.0.0.

@jiangxb1987
Copy link
Contributor

Retest this please

@SparkQA
Copy link

SparkQA commented Jun 1, 2020

Test build #123382 has finished for PR 28660 at commit bc5fc2d.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 1, 2020

Test build #123384 has finished for PR 28660 at commit 8587eb2.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@sarutak
Copy link
Member Author

sarutak commented Jun 1, 2020

#28693 seems to break the build for branch-3.0.
DateTimeUtils doesn't have microsToMillis in branch-3.0.

@jiangxb1987
Copy link
Contributor

The commit has been reverted from branch-3.0 . Please rebase and try again @sarutak , thanks!

@sarutak
Copy link
Member Author

sarutak commented Jun 1, 2020

Thanks @jiangxb1987 ! I'll retry.

@SparkQA
Copy link

SparkQA commented Jun 1, 2020

Test build #123386 has finished for PR 28660 at commit aa4ccf2.

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

jiangxb1987 pushed a commit that referenced this pull request Jun 1, 2020
### What changes were proposed in this pull request?

This PR backports the change of #28583 (SPARK-31764) to branch-3.0, which changes JsonProtocol to write RDDInfos#isBarrier.

### Why are the changes needed?

JsonProtocol reads RDDInfos#isBarrier but not write it so it's a bug.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

I added a testcase.

Closes #28660 from sarutak/SPARK-31764-branch-3.0.

Authored-by: Kousuke Saruta <[email protected]>
Signed-off-by: Xingbo Jiang <[email protected]>
@jiangxb1987
Copy link
Contributor

Thanks, merged to 3.0 !

@jiangxb1987 jiangxb1987 closed this Jun 1, 2020
@sarutak sarutak deleted the SPARK-31764-branch-3.0 branch June 4, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants