Exception CreateSymbolicLink error(183)当文件已经存在时,不能创建文件



当我试图从Hadoop自带的Hadoop -mapreduce-examples-3.3.1.jar中运行wordcount示例时,我得到了这个错误。

Exception message: CreateSymbolicLink error (183): Cannot create a file when that file already exists.

Shell output:         1 file(s) moved.
"Setting up env variables"
"Setting up job resources"

[2021-09-27 16:43:36.455]Container exited with a non-zero exit code 1.
[2021-09-27 16:43:36.455]Container exited with a non-zero exit code 1.
For more detailed output, check the application tracking page: http://DESKTOP-0N6IMAQ:8088/cluster/app/application_1632774426206_0006 Then click on links to logs of each attempt.
. Failing the application.
2021-09-27 16:43:36,780 INFO mapreduce.Job: Counters: 0

这是我要提交的行

hadoop jar hadoop-mapreduce-examples-3.3.1.jar wordcount/input.txt/output.txt

您的输出文件已经存在。修改输出文件名

hadoop jar hadoop-mapreduce-examples-3.3.1.jar wordcount /input.txt /output2.txt

相关内容

  • 没有找到相关文章

最新更新