我有个关于指挥的问题
C:\hadoop-3.3.0\Lab2>hadoop jar "C:/hadoop-3.3.0/share/hadoop/tools/lib/hadoop-streaming-3.3.0.jar" ^
-file mapper.py -mapper mapper.py ^
-file reducer.py -reducer reducer.py ^
-input /user/Win10/data/Cau1.txt ^
-output /user/Win10/data/Cau1-output.txt
字符串
这是命令回复
2023-07-02 20:43:22,867 WARN streaming.StreamJob: -file option is deprecated, please use generic option -files instead.
File: file:/C:/hadoop-3.3.0/Lab2/mapper.py is not readable.
Try -help for more information
Streaming Command Failed!
型
希望大家能帮我修!我使用Windows
1条答案
按热度按时间5f0d552i1#
应该使用
-files
参数,而不是- file
您可以查看this链接