运行hadoop自带的wordcount程序时报错

img


报错内容为Usage:wordcount [...] ,实在找不出原因,求大神指点

不是提示要有输入(IN)和输出(OUT)么
你这个参数 /hdfs/test/wctest.txt/hdfstest/output 中间没有空格
不应该是 /hdfs/test/wctest.txt /hdfstest/output 这样吗?

要有两个路径