Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 R 脚本编写我的映射器和减速器。在这里,我试图读取 Rscript Mapper 中的一个文件。有没有办法我可以配置我的流式地图红色,以便它只读取这个文件一次而不是每个 maptask 。我了解hadoop java的概念可以通过覆盖映射器对象中的设置任务来实现。
我找到了一个链接 http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200906.mbox/%3C49efc3330906012210o191d426bqc3558b6420171e38@mail.gmail.com%3E
这实际上说明了相同的答案。我正在为可能需要此答案的其他人添加此内容。谢谢