Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

《3.2 Receiver, ReceiverSupervisor, BlockGenerator, ReceivedBlockHandler 详解.md》讨论区 #7

Open
lw-lin opened this issue Dec 5, 2015 · 8 comments

Comments

@lw-lin
Copy link
Owner

lw-lin commented Dec 5, 2015

这里是 《3.2 Receiver, ReceiverSupervisor, BlockGenerator, ReceivedBlockHandler 详解.md》 讨论区。

如需要贴代码,请复制以下内容并修改:

public static final thisIsJavaCode;
val thisIsScalaCode

谢谢!

@jacksu
Copy link
Contributor

jacksu commented Dec 27, 2015

里面有几个图挂了

@taojiang1982
Copy link

这里有个typo,“这 4 中 签名的 store() 的实现都是直接数据转给 ReceiverSupervisor”,“中” 应该改成“种”。

@lw-lin
Copy link
Owner Author

lw-lin commented Jan 17, 2016

@taojiang1982
typo 已修正,感谢指出!

@endymecy
Copy link
Contributor

有些图片出不来

@wongxingjun
Copy link
Contributor

多个图片缺失,在imgs文件夹找不到,应该不是typo

@TopSpoofer
Copy link

@lw-lin

// 【开始执行两个 future、等待两个 future 都结束】
  val combinedFuture = storeInBlockManagerFuture.zip(storeInWriteAheadLogFuture).map(_._2)
  val walRecordHandle = Await.result(combinedFuture, blockStoreTimeout)

这里为什么是等待两个future结束?Await.result 不是等待storeInWriteAheadLogFuture 吗?

@lw-lin
Copy link
Owner Author

lw-lin commented Jul 22, 2016

@TopSpoofer
zip(...).map(...) 的过程,会执行两个 future,只不过 map 出来第 2 个的结果。具体的 Future 实现请见这里

Hope it helps!

@klion26
Copy link

klion26 commented Oct 21, 2016

3 张图片显示不了的问题,提交了一个 PR,有空 review 下 #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants