Commit b6c8366
[SPARK-31764][CORE][3.0] JsonProtocol doesn't write RDDInfo#isBarrier
### What changes were proposed in this pull request?
This PR backports the change of apache#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 apache#28660 from sarutak/SPARK-31764-branch-3.0.
Authored-by: Kousuke Saruta <[email protected]>
Signed-off-by: Xingbo Jiang <[email protected]>1 parent 8a7fb26 commit b6c8366
File tree
3 files changed
+56
-0
lines changed- core/src
- main/scala/org/apache/spark/util
- test/scala/org/apache/spark
- scheduler
- util
3 files changed
+56
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| |||
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
102 | 146 | | |
103 | 147 | | |
104 | 148 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| 1066 | + | |
1066 | 1067 | | |
1067 | 1068 | | |
1068 | 1069 | | |
| |||
1585 | 1586 | | |
1586 | 1587 | | |
1587 | 1588 | | |
| 1589 | + | |
1588 | 1590 | | |
1589 | 1591 | | |
1590 | 1592 | | |
| |||
1629 | 1631 | | |
1630 | 1632 | | |
1631 | 1633 | | |
| 1634 | + | |
1632 | 1635 | | |
1633 | 1636 | | |
1634 | 1637 | | |
| |||
1645 | 1648 | | |
1646 | 1649 | | |
1647 | 1650 | | |
| 1651 | + | |
1648 | 1652 | | |
1649 | 1653 | | |
1650 | 1654 | | |
| |||
1689 | 1693 | | |
1690 | 1694 | | |
1691 | 1695 | | |
| 1696 | + | |
1692 | 1697 | | |
1693 | 1698 | | |
1694 | 1699 | | |
| |||
1705 | 1710 | | |
1706 | 1711 | | |
1707 | 1712 | | |
| 1713 | + | |
1708 | 1714 | | |
1709 | 1715 | | |
1710 | 1716 | | |
| |||
1721 | 1727 | | |
1722 | 1728 | | |
1723 | 1729 | | |
| 1730 | + | |
1724 | 1731 | | |
1725 | 1732 | | |
1726 | 1733 | | |
| |||
1765 | 1772 | | |
1766 | 1773 | | |
1767 | 1774 | | |
| 1775 | + | |
1768 | 1776 | | |
1769 | 1777 | | |
1770 | 1778 | | |
| |||
1781 | 1789 | | |
1782 | 1790 | | |
1783 | 1791 | | |
| 1792 | + | |
1784 | 1793 | | |
1785 | 1794 | | |
1786 | 1795 | | |
| |||
1797 | 1806 | | |
1798 | 1807 | | |
1799 | 1808 | | |
| 1809 | + | |
1800 | 1810 | | |
1801 | 1811 | | |
1802 | 1812 | | |
| |||
1813 | 1823 | | |
1814 | 1824 | | |
1815 | 1825 | | |
| 1826 | + | |
1816 | 1827 | | |
1817 | 1828 | | |
1818 | 1829 | | |
| |||
0 commit comments