unable to run hadoop wordcount example?

前端 未结 4 1001
暗喜
暗喜 2021-01-06 07:53

I am running hadoop wordcount example in single node environment on ubuntu 12.04 in vmware. i running the example like this:--

hadoop@master:~/hadoop$ hadoop         


        
4条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 08:16

    Like Dave (and the exceptions) said, your output directory already exists. You either need to output to a different directory or remove the existing one first, using:

    hadoop fs -rmr /home/hadoop/gutenberg-output
    

提交回复
热议问题