diff options
author | zsxwing <zsxwing@gmail.com> | 2014-12-24 19:49:41 -0800 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2014-12-24 19:49:41 -0800 |
commit | b4d0db80a0bfba7f1e045d4edb9357b4b2c0a557 (patch) | |
tree | 2ccbdd3d59494f730a42c1ba5f277726d070a3cb /docs/building-spark.md | |
parent | 29fabb1b528e60b2f65132a9ab64f2fd95b729ba (diff) | |
download | spark-b4d0db80a0bfba7f1e045d4edb9357b4b2c0a557.tar.gz spark-b4d0db80a0bfba7f1e045d4edb9357b4b2c0a557.tar.bz2 spark-b4d0db80a0bfba7f1e045d4edb9357b4b2c0a557.zip |
[SPARK-4873][Streaming] Use `Future.zip` instead of `Future.flatMap`(for-loop) in WriteAheadLogBasedBlockHandler
Use `Future.zip` instead of `Future.flatMap`(for-loop). `zip` implies these two Futures will run concurrently, while `flatMap` usually means one Future depends on the other one.
Author: zsxwing <zsxwing@gmail.com>
Closes #3721 from zsxwing/SPARK-4873 and squashes the following commits:
46a2cd9 [zsxwing] Use Future.zip instead of Future.flatMap(for-loop)
Diffstat (limited to 'docs/building-spark.md')
0 files changed, 0 insertions, 0 deletions