最近寫了一個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 明明是輸入啊????
求助?????????????????????
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/210021.html
標籤:分布式計算/Hadoop
上一篇:navicat鏈接Oracle中的模式下的用戶和那個system有什么區別?
下一篇:小白問題請教
