Doing so returns a buffered text file; read and readline return strings. (Remember that all strings in Python 3 are unicode.)
这么做会返回一个缓冲了的文本文件;read和readline会返回字符串(请注意,Python 3内的所有字符串都是unicode)。
When a reduce worker is notified by the master about these locations, it uses remote procedure calls to read the buffered data from the local disks of the map workers.
负责reduce任务的worker接收到这些位置信息以后,使用RPC读取这些数据。
Streams are buffered interfaces that are thought of as a series of characters read one at a time.
考虑到一连串的字符需要一次读一个,流(相当于)是具有缓冲作用的接口。
应用推荐