Commit 05a4514
[SPARK-20386][SPARK CORE] modify the log info if the block exists on the slave already
## What changes were proposed in this pull request?
Modify the added memory size to memSize-originalMemSize if the block exists on the slave already
since if the block exists, the added memory size should be memSize-originalMemSize; if originalMemSize is bigger than memSize ,then the log info should be Removed memory, removed size should be originalMemSize-memSize
## How was this patch tested?
Multiple runs on existing unit tests
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.
Author: eatoncys <[email protected]>
Closes #17683 from eatoncys/SPARK-20386.1 parent ad29040 commit 05a4514
File tree
1 file changed
+35
-17
lines changed- core/src/main/scala/org/apache/spark/storage
1 file changed
+35
-17
lines changedLines changed: 35 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
501 | 506 | | |
502 | 507 | | |
503 | | - | |
504 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
505 | 511 | | |
506 | 512 | | |
507 | 513 | | |
| |||
520 | 526 | | |
521 | 527 | | |
522 | 528 | | |
523 | | - | |
524 | | - | |
525 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
526 | 539 | | |
527 | 540 | | |
528 | 541 | | |
529 | 542 | | |
530 | | - | |
531 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
532 | 551 | | |
533 | 552 | | |
534 | 553 | | |
535 | 554 | | |
536 | | - | |
| 555 | + | |
537 | 556 | | |
538 | | - | |
539 | 557 | | |
540 | 558 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
545 | 563 | | |
546 | | - | |
547 | | - | |
548 | | - | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
549 | 567 | | |
550 | 568 | | |
551 | 569 | | |
| |||
0 commit comments