diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2014-05-08 22:34:08 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2014-05-08 22:34:21 -0700 |
commit | b8c17e3928d070d4757d44995516b8872196e5c9 (patch) | |
tree | 3c0d33296b1e914443e54c02b4e159290eacb722 /docs | |
parent | 1d56cd544efce0f8fc36419a5d183f9e44e99957 (diff) | |
download | spark-b8c17e3928d070d4757d44995516b8872196e5c9.tar.gz spark-b8c17e3928d070d4757d44995516b8872196e5c9.tar.bz2 spark-b8c17e3928d070d4757d44995516b8872196e5c9.zip |
Converted bang to ask to avoid scary warning when a block is removed
Removing a block through the blockmanager gave a scary warning messages in the driver.
```
2014-05-08 20:16:19,172 WARN BlockManagerMasterActor: Got unknown message: true
2014-05-08 20:16:19,172 WARN BlockManagerMasterActor: Got unknown message: true
2014-05-08 20:16:19,172 WARN BlockManagerMasterActor: Got unknown message: true
```
This is because the [BlockManagerSlaveActor](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/storage/BlockManagerSlaveActor.scala#L44) would send back an acknowledgement ("true"). But the BlockManagerMasterActor would have sent the RemoveBlock message as a send, not as ask(), so would reject the receiver "true" as a unknown message.
@pwendell
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #708 from tdas/bm-fix and squashes the following commits:
ed4ef15 [Tathagata Das] Converted bang to ask to avoid scary warning when a block is removed.
(cherry picked from commit 32868f31f88aebd580ab9329dc51a30c26af7a74)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions