0

我正在尝试在 Michael Noll 的博客之后运行用 python 编写的映射器脚本示例, http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/

命令是:

cat /home/hduser/WorcountExample/pg4300.txt | /home/hduser/mapper.py

此命令在 ubuntu 12.04LTS 终端上运行良好。在尝试在 Red Hat Linux 服务器上复制它时,它给出了error : No such file or directory

只是想知道我是否需要在 Red Hat 上使用不同的命令。谢谢。

4

0 回答 0