The problem is that you are mixing the old API (.mapred.
) and the new API (.mapreduce.
). The two APIs are not compatible.
I suggest you use all the objects from the new API and not use anything from the old API. That is, don't use JobConf
or JobClient
. Use Job
and Configuration
instead. And be sure you are using Mapper
, Reducer
, etc. from an import that includes .mapreduce.
not .mapred.
.