The method setOutputFormatClass in the type Job is not applicable for the arguments

輸入參數和方法參數不匹配的問題(未正確導包) 報錯截圖 簡單問題: 基本上就是導入包錯誤導致 此包導入錯誤是因爲代碼自動提示時未顯示想要的包,導成了其他包,編寫代碼時要注意導入包是否準確 ! 錯誤導入 正確導入 包對比 import org.apache.hadoop.mapred.SequenceFileOutputFormat; import org.apache.hadoop.mapredu
相關文章
相關標籤/搜索