Commit cfe9f02
[SPARK-14243][CORE][BACKPORT-1.6] update task metrics when removing blocks
## What changes were proposed in this pull request?
This patch try to update the `updatedBlockStatuses ` when removing blocks, making sure `BlockManager` correctly updates `updatedBlockStatuses`
## How was this patch tested?
test("updated block statuses") in BlockManagerSuite.scala
Author: jeanlyn <[email protected]>
Closes #12150 from jeanlyn/updataBlock1.6.1 parent 285cb9c commit cfe9f02
File tree
2 files changed
+27
-1
lines changed- core/src
- main/scala/org/apache/spark/storage
- test/scala/org/apache/spark/storage
2 files changed
+27
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
| 1123 | + | |
1123 | 1124 | | |
1124 | | - | |
1125 | 1125 | | |
1126 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1127 | 1132 | | |
1128 | 1133 | | |
1129 | 1134 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
898 | 909 | | |
899 | 910 | | |
900 | 911 | | |
| |||
954 | 965 | | |
955 | 966 | | |
956 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
957 | 978 | | |
958 | 979 | | |
959 | 980 | | |
| |||
0 commit comments