Version Incompatibility between Spring batch and cloudera hadoop
I was trying the spring batch word count program and faced a version issue like this : ERROR [org.springframework.batch.core.step.AbstractStep] - <Encountered an error executing the step> java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected I use Cloudera Hadoop2 cdh4.5.0 and Spring hadoop version 1.0.1.RELEASE . I cant identify the exact problem as Spring batch is compatible with hadoop cdh4 . My dependency tree is as shown below. [INFO] org.springframework.data:batch-wordcount:jar:0.0.1 [INFO] +- org.springframework:spring