1
我想在Hadoop 2.2上使用mahout 0.9庫執行XML解析的mapreduce作業。 但我發現了以下錯誤:
Mahout錯誤與Hadoop2.2
14/02/24 16:03:02 INFO mapreduce.Job: Task Id : attempt_1393235568433_0004_m_000000_0, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
14/02/24 16:03:12 INFO mapreduce.Job: Task Id : attempt_1393235568433_0004_m_000000_1, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
14/02/24 16:03:31 INFO mapreduce.Job: Task Id : attempt_1393235568433_0004_m_000000_2, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
14/02/24 16:03:53 INFO mapreduce.Job: map 100% reduce 100%
14/02/24 16:03:53 INFO mapreduce.Job: Job job_1393235568433_0004 failed with state FAILED due to: Task failed task_1393235568433_0004_m_000000
Job failed as tasks failed. failedMaps:1 failedReduces:0
我試圖尋找解決方案,但得到的鏈接http://osdir.com/ml/general/2014-02/msg39414.html,其中指出,Mahout的0.8或0.9不支持Hadoop的2.2。
任何可能的工作?
thanx ..會嘗試。 –
不要猶豫,馬克回答;) – ksiomelo
我重新編譯的代碼,但得到了同樣的錯誤...... –