【求助】
最近写了一个mapreduce发现了一件很奇怪的事情,代码在eclipse中运行正常,结果也能正常显示,
但是当把代码打包,直接在hadoop集群中运行时,就报错,具体如下:
Exception in thread "main" org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://iflytek01:9000/test022/stu.txt already exists
提交指令如下:hadoop jar /root/datas/wordcount.jar test.mapReduce.WordCount /test022/stu.txt /test022/output04
但stu.txt 明明是输入啊????
求助?????????????????????