Hadoop: java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

前端 未结 5 1057
刺人心
刺人心 2020-12-19 02:00

My MapReduce jobs runs ok when assembled in Eclipse with all possible Hadoop and Hive jars included in Eclipse project as dependencies. (These are the jars that come with si

5条回答
  •  别那么骄傲
    2020-12-19 02:38

    Look for entries like this

    
                org.apache.hadoop
                hadoop-core
                1.2.1
    
    

    in your pom.xml. These define the hadoop version to use. Change them or remove them as per your requirements.

提交回复
热议问题