The error is caused due a mismatch between the version that you're using of hadoop at compile time and the version that you're using at runtime (on your server). You should check both and make sure they're the same.